OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 HACK: register the GPIO driver earlier to ensure that gpio_request calls
2 from mach files succeed.
3  
4 --- a/drivers/gpio/gpio-ath79.c
5 +++ b/drivers/gpio/gpio-ath79.c
6 @@ -322,7 +322,11 @@ static struct platform_driver ath79_gpio
7 .remove = ath79_gpio_remove,
8 };
9  
10 -module_platform_driver(ath79_gpio_driver);
11 +static int __init ath79_gpio_init(void)
12 +{
13 + return platform_driver_register(&ath79_gpio_driver);
14 +}
15 +postcore_initcall(ath79_gpio_init);
16  
17 MODULE_DESCRIPTION("Atheros AR71XX/AR724X/AR913X GPIO API support");
18 MODULE_LICENSE("GPL v2");