瀏覽代碼

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>
Michael Brunner 12 年之前
父節點
當前提交
81e9df2c94
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/gpio/gpio-kempld.c

+ 1 - 1
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,