Commit 2f07eda4 authored by Philippe Gerum's avatar Philippe Gerum

drivers/gpio: mxc: look for imx7d devices

parent a2262d5b
......@@ -20,10 +20,16 @@
#define RTDM_SUBCLASS_MXC 2
static const char *compat_array[] = {
"fsl,imx6q-gpio",
"fsl,imx7d-gpio",
};
static int __init mxc_gpio_init(void)
{
return rtdm_gpiochip_scan_of(NULL, "fsl,imx6q-gpio",
RTDM_SUBCLASS_MXC);
return rtdm_gpiochip_scan_array_of(NULL, compat_array,
ARRAY_SIZE(compat_array),
RTDM_SUBCLASS_MXC);
}
module_init(mxc_gpio_init);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment