diff options
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | 2011-01-13 12:26:39 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-13 14:03:58 +0100 |
commit | 01c0761cc13a72c5aca5eab5870be8341eed214b (patch) | |
tree | b658b90af05e7c97770bf5bf579745c24e639967 /arch/arm/mach-mx5 | |
parent | 3b18c349285a534755e8f84c273aeafac41fdf3b (diff) | |
download | op-kernel-dev-01c0761cc13a72c5aca5eab5870be8341eed214b.zip op-kernel-dev-01c0761cc13a72c5aca5eab5870be8341eed214b.tar.gz |
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')
-rw-r--r-- | arch/arm/mach-mx5/devices-imx51.h | 4 |
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 531f454..7fff485 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; 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) \ |