summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-kempld.c
diff options
context:
space:
mode:
authorMichael Brunner <mibru@gmx.de>2013-08-09 17:33:06 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-08-16 17:04:58 +0200
commit81e9df2c946e49044877136789ecae61cbf65c81 (patch)
treecfb1f604fb3b52a8b025406a689d268d262f3d89 /drivers/gpio/gpio-kempld.c
parentgpio: adnp: Fix segfault if request_threaded_irq fails (diff)
downloadlinux-81e9df2c946e49044877136789ecae61cbf65c81.tar.xz
linux-81e9df2c946e49044877136789ecae61cbf65c81.zip
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. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Kevin Strasser <strassek@engr.orst.edu> Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
Diffstat (limited to 'drivers/gpio/gpio-kempld.c')
-rw-r--r--drivers/gpio/gpio-kempld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-kempld.c b/drivers/gpio/gpio-kempld.c
index 3f5b20038af1..3f0e13b05953 100644
--- a/drivers/gpio/gpio-kempld.c
+++ b/drivers/gpio/gpio-kempld.c
@@ -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,