summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-kempld.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-04-12 12:45:18 +0800
committerLinus Walleij <linus.walleij@linaro.org>2014-04-28 12:35:09 -0700
commit9288ecad7522e9d4fa34c3cb3ac8f762aa6b8f7c (patch)
tree17db23b9b3ffe472ecd90bc599c4765fced9bdb8 /drivers/gpio/gpio-kempld.c
parent370a4516e401af82dcd89c34a99346c5869a879c (diff)
downloadlinux-stable-9288ecad7522e9d4fa34c3cb3ac8f762aa6b8f7c.tar.gz
linux-stable-9288ecad7522e9d4fa34c3cb3ac8f762aa6b8f7c.tar.bz2
linux-stable-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");