aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/devices-imx51.h
diff options
context:
space:
mode:
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>2011-01-13 06:26:39 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-13 08:03:58 -0500
commit01c0761cc13a72c5aca5eab5870be8341eed214b (patch)
treeb658b90af05e7c97770bf5bf579745c24e639967 /arch/arm/mach-mx5/devices-imx51.h
parent3b18c349285a534755e8f84c273aeafac41fdf3b (diff)
Fix pwm-related build failure
Commit 076762aa52de48688f6e1b6999fe58d736479f37 is adding a macro whis is calling imx_add_mxc_pwm() but gives it 2 parameters while it's taking only one parameters. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/devices-imx51.h')
-rw-r--r--arch/arm/mach-mx5/devices-imx51.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h
index 531f4544dc95..7fff485e5603 100644
--- a/arch/arm/mach-mx5/devices-imx51.h
+++ b/arch/arm/mach-mx5/devices-imx51.h
@@ -49,8 +49,8 @@ extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[] __initconst;
49 imx_add_imx2_wdt(&imx51_imx2_wdt_data[id]) 49 imx_add_imx2_wdt(&imx51_imx2_wdt_data[id])
50 50
51extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[] __initconst; 51extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[] __initconst;
52#define imx51_add_mxc_pwm(id, pdata) \ 52#define imx51_add_mxc_pwm(id) \
53 imx_add_mxc_pwm(&imx51_mxc_pwm_data[id], pdata) 53 imx_add_mxc_pwm(&imx51_mxc_pwm_data[id])
54 54
55extern const struct imx_imx_keypad_data imx51_imx_keypad_data __initconst; 55extern const struct imx_imx_keypad_data imx51_imx_keypad_data __initconst;
56#define imx51_add_imx_keypad(pdata) \ 56#define imx51_add_imx_keypad(pdata) \