summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-kempld.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-04-12 06:45:18 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-04-28 21:35:09 +0200
commit9288ecad7522e9d4fa34c3cb3ac8f762aa6b8f7c (patch)
tree17db23b9b3ffe472ecd90bc599c4765fced9bdb8 /drivers/gpio/gpio-kempld.c
parentgpio: rcar: Add optional functional clock to bindings (diff)
downloadlinux-9288ecad7522e9d4fa34c3cb3ac8f762aa6b8f7c.tar.xz
linux-9288ecad7522e9d4fa34c3cb3ac8f762aa6b8f7c.zip
gpio: kempld: Fix autoloading of module
Make the module alias match the platform device name, so gpio-kempld module should now autoload correctly. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
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 c6d88173f5a2..ebe102325569 100644
--- a/drivers/gpio/gpio-kempld.c
+++ b/drivers/gpio/gpio-kempld.c
@@ -216,4 +216,4 @@ module_platform_driver(kempld_gpio_driver);
MODULE_DESCRIPTION("KEM PLD GPIO Driver");
MODULE_AUTHOR("Michael Brunner <michael.brunner@kontron.com>");
MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:gpio-kempld");
+MODULE_ALIAS("platform:kempld-gpio");