gpio: Fix platform driver name in Kontron PLD GPIO driver
PATCH 1/1 gpio: Fix platform driver name in Kontron PLD GPIO driver
This patch changes the driver name to be consistent with the name that is registered as cell name in the MFD driver. Otherwise the driver won't load.
--- drivers/gpio/gpio-kempld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-kempld.c +0 -0
@@ -210,7 +210,7 @@ static int kempld_gpio_remove(struct
platform_device *pdev)
static struct platform_driver kempld_gpio_driver = {
.driver = {- .name = "gpio-kempld",
+ .name = "kempld-gpio",
.owner = THIS_MODULE,
},
.probe = kempld_gpio_probe,
Quoted 5 lines · Michael Brunner
This patch changes the driver name to be consistent with the name that is registered as cell name in the MFD driver. Otherwise the driver won't load.
Signed-off-by Michael Brunner <[email protected]>
Quoted 18 lines
--- drivers/gpio/gpio-kempld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpio/gpio-kempld.c +1
-1@@ -210,7 +210,7 @@ static int kempld_gpio_remove(struct platform_device *pdev)static struct platform_driver kempld_gpio_driver = { .driver = { - .name ="gpio-kempld" , + .name ="kempld-gpio" , .owner =THIS_MODULE , }, .probe = kempld_gpio_probe,
Quoted 5 lines · Michael Brunner
This patch changes the driver name to be consistent with the name that is registered as cell name in the MFD driver. Otherwise the driver won't load.
Signed-off-by Michael Brunner <[email protected]>
Quoted 17 lines
--- drivers/gpio/gpio-kempld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpio/gpio-kempld.c +1
-1@@ -210,7 +210,7 @@ static int kempld_gpio_remove(struct platform_device *pdev)static struct platform_driver kempld_gpio_driver = { .driver = { - .name ="gpio-kempld" , + .name ="kempld-gpio" , .owner =THIS_MODULE , }, .probe = kempld_gpio_probe,
Quoted 5 lines · Michael Brunner
This patch changes the driver name to be consistent with the name that is registered as cell name in the MFD driver. Otherwise the driver won't load.
Signed-off-by Michael Brunner <[email protected]>
Patch applied!
Yours,
Linus Walleij