summaryrefslogtreecommitdiffstats
path: root/arch/avr32
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-03-28 19:05:47 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-27 08:26:20 +0200
commitce3b64f5f1ba9126c7f97115c15abe9c322d24e1 (patch)
treeaf88f88cb46c7ceb388a1b7bc7320e7602e24ce1 /arch/avr32
parentvideo: atmel_lcdfb: introduce atmel_lcdfb_power_control (diff)
downloadlinux-ce3b64f5f1ba9126c7f97115c15abe9c322d24e1.tar.xz
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 'arch/avr32')
-rw-r--r--arch/avr32/boards/atngw100/evklcd10x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/boards/atngw100/evklcd10x.c b/arch/avr32/boards/atngw100/evklcd10x.c
index dc4280413e9d..64919b0da7aa 100644
--- a/arch/avr32/boards/atngw100/evklcd10x.c
+++ b/arch/avr32/boards/atngw100/evklcd10x.c
@@ -145,7 +145,7 @@ static struct atmel_lcdfb_pdata __initdata atevklcd10x_lcdc_data = {
};
#endif
-static void atevklcd10x_lcdc_power_control(int on)
+static void atevklcd10x_lcdc_power_control(struct atmel_lcdfb_pdata *pdata, int on)
{
gpio_set_value(GPIO_PIN_PB(15), on);
}