From: Archit Taneja Date: Fri, 30 Nov 2012 09:41:09 +0000 (+0530) Subject: OMAPDSS: lb035q02: handle gpios in panel driver X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=7232b1f91ee8abb85a4a9202ae170910b66d2305;p=linux-edison.git OMAPDSS: lb035q02: handle gpios in panel driver The lgphilips panel driver leaves gpio configurations to the platform_enable and disable calls in the platform's board file. These should happen in the panel driver itself. Use the platform data as defined for generic dpi panels to pass gpio information to the lgphilips driver. This will help in removing the need for the panel drivers to have platform related callbacks. Signed-off-by: Archit Taneja --- diff --git a/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c b/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c index 8effea8f225..63cd8857005 100644 --- a/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c +++ b/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c @@ -20,8 +20,10 @@ #include #include #include +#include #include