summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/devices-imx6q.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx6/devices-imx6q.h')
-rw-r--r--arch/arm/mach-mx6/devices-imx6q.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/devices-imx6q.h b/arch/arm/mach-mx6/devices-imx6q.h
index f7ad317a4fe3..ff49ce1b1419 100644
--- a/arch/arm/mach-mx6/devices-imx6q.h
+++ b/arch/arm/mach-mx6/devices-imx6q.h
@@ -172,7 +172,10 @@ extern const struct imx_viv_gpu_data imx6_gc355_data __initconst;
extern const struct imx_mxc_pwm_data imx6q_mxc_pwm_data[] __initconst;
#define imx6q_add_mxc_pwm(id) \
- imx_add_mxc_pwm(&imx6q_mxc_pwm_data[id])
+ imx_add_mxc_pwm(&imx6q_mxc_pwm_data[id], NULL)
+
+#define imx6q_add_mxc_pwm_pdata(id, pdata) \
+ imx_add_mxc_pwm(&imx6q_mxc_pwm_data[id], pdata)
#define imx6q_add_mxc_pwm_backlight(id, pdata) \
platform_device_register_resndata(NULL, "pwm-backlight",\