Message ID | 1410258591-28248-7-git-send-email-kamlakant.patel@linaro.org |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c index 8ffdd7d..8041445 100644 --- a/drivers/gpio/gpio-mxs.c +++ b/drivers/gpio/gpio-mxs.c @@ -344,12 +344,8 @@ static struct platform_driver mxs_gpio_driver = { .probe = mxs_gpio_probe, .id_table = mxs_gpio_ids, }; +module_platform_driver(mxs_gpio_driver); -static int __init mxs_gpio_init(void) -{ - return platform_driver_register(&mxs_gpio_driver); -} -postcore_initcall(mxs_gpio_init); MODULE_AUTHOR("Freescale Semiconductor, " "Daniel Mack <danielncaiaq.de>, "