summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-03-29 02:05:47 +0800
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-27 09:26:20 +0300
commitce3b64f5f1ba9126c7f97115c15abe9c322d24e1 (patch)
treeaf88f88cb46c7ceb388a1b7bc7320e7602e24ce1 /drivers
parent42110e91de7f66f6276afdec8040aedbb8c5a6fd (diff)
downloadtalos-obmc-linux-ce3b64f5f1ba9126c7f97115c15abe9c322d24e1.tar.gz
talos-obmc-linux-ce3b64f5f1ba9126c7f97115c15abe9c322d24e1.zip
video: atmel_lcdfb: pass the pdata as params
so we can use have list gpio as example (probe via DT) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/atmel_lcdfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index 3c7609c1c6fe..790a501538b0 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -293,7 +293,7 @@ static inline void atmel_lcdfb_power_control(struct atmel_lcdfb_info *sinfo, int
struct atmel_lcdfb_pdata *pdata = &sinfo->pdata;
if (pdata->atmel_lcdfb_power_control)
- pdata->atmel_lcdfb_power_control(on);
+ pdata->atmel_lcdfb_power_control(pdata, on);
}
static struct fb_fix_screeninfo atmel_lcdfb_fix __initdata = {
OpenPOWER on IntegriCloud