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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/devices-imx6q.h b/arch/arm/mach-mx6/devices-imx6q.h
index ec724ff8de48..bd948cecbcd2 100644
--- a/arch/arm/mach-mx6/devices-imx6q.h
+++ b/arch/arm/mach-mx6/devices-imx6q.h
@@ -238,6 +238,10 @@ extern const struct imx_pcie_data imx6q_pcie_data __initconst;
#define imx6q_add_busfreq(pdata) imx_add_busfreq(pdata)
+#define imx6q_add_ion(id, pdata, size) \
+ platform_device_register_resndata(NULL, "ion-mxc",\
+ id, NULL, 0, pdata, size);
+
extern const struct imx_imx_keypad_data imx6sl_imx_keypad_data;
#define imx6sl_add_imx_keypad(pdata) \
imx_add_imx_keypad(&imx6sl_imx_keypad_data, pdata)