Message ID | 20220812205746.609107-4-mairacanal@riseup.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Drop of_gpio header | expand |
diff --git a/drivers/gpu/drm/msm/dp/dp_parser.c b/drivers/gpu/drm/msm/dp/dp_parser.c index f6ab3b5586ce..9a1bd92dcdc5 100644 --- a/drivers/gpu/drm/msm/dp/dp_parser.c +++ b/drivers/gpu/drm/msm/dp/dp_parser.c @@ -3,7 +3,7 @@ * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. */ -#include <linux/of_gpio.h> +#include <linux/of.h> #include <linux/phy/phy.h> #include <drm/drm_of.h> diff --git a/drivers/gpu/drm/msm/hdmi/hdmi.c b/drivers/gpu/drm/msm/hdmi/hdmi.c index 93fe61b86967..f178c424257b 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi.c @@ -6,7 +6,6 @@ */ #include <linux/of_irq.h> -#include <linux/of_gpio.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_of.h>
These drivers include the deprecated OF GPIO header <linux/of_gpio.h> yet fail to use symbols from it, so drop the include. Cc: Rob Clark <robdclark@gmail.com> Cc: Abhinav Kumar <quic_abhinavk@quicinc.com> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Cc: Sean Paul <sean@poorly.run> Signed-off-by: Maíra Canal <mairacanal@riseup.net> --- drivers/gpu/drm/msm/dp/dp_parser.c | 2 +- drivers/gpu/drm/msm/hdmi/hdmi.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)