diff options
Diffstat (limited to 'arch/arm/mach-imx/mach-cpuimx51sd.c')
-rw-r--r-- | arch/arm/mach-imx/mach-cpuimx51sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-cpuimx51sd.c b/arch/arm/mach-imx/mach-cpuimx51sd.c index 9b5ddf5bbd33..1fba2b8e983f 100644 --- a/arch/arm/mach-imx/mach-cpuimx51sd.c +++ b/arch/arm/mach-imx/mach-cpuimx51sd.c | |||
@@ -121,7 +121,7 @@ static const struct imxuart_platform_data uart_pdata __initconst = { | |||
121 | .flags = IMXUART_HAVE_RTSCTS, | 121 | .flags = IMXUART_HAVE_RTSCTS, |
122 | }; | 122 | }; |
123 | 123 | ||
124 | static int tsc2007_get_pendown_state(void) | 124 | static int tsc2007_get_pendown_state(struct device *dev) |
125 | { | 125 | { |
126 | if (mx51_revision() < IMX_CHIP_REVISION_3_0) | 126 | if (mx51_revision() < IMX_CHIP_REVISION_3_0) |
127 | return !gpio_get_value(TSC2007_IRQGPIO_REV2); | 127 | return !gpio_get_value(TSC2007_IRQGPIO_REV2); |