Fix pwm-related build failure
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Thu, 13 Jan 2011 11:26:39 +0000 (12:26 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 13 Jan 2011 13:03:58 +0000 (14:03 +0100)
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>
arch/arm/mach-mx5/devices-imx51.h

index 531f454..7fff485 100644 (file)
@@ -49,8 +49,8 @@ extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[] __initconst;
        imx_add_imx2_wdt(&imx51_imx2_wdt_data[id])
 
 extern const struct imx_mxc_pwm_data imx51_mxc_pwm_data[] __initconst;
-#define imx51_add_mxc_pwm(id, pdata)   \
-       imx_add_mxc_pwm(&imx51_mxc_pwm_data[id], pdata)
+#define imx51_add_mxc_pwm(id)  \
+       imx_add_mxc_pwm(&imx51_mxc_pwm_data[id])
 
 extern const struct imx_imx_keypad_data imx51_imx_keypad_data __initconst;
 #define imx51_add_imx_keypad(pdata)    \