danube gpio clean up
authorJohn Crispin <john@openwrt.org>
Thu, 13 Dec 2007 22:43:22 +0000 (22:43 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 13 Dec 2007 22:43:22 +0000 (22:43 +0000)
SVN-Revision: 9744

target/linux/danube/config-2.6.23
target/linux/danube/files/drivers/char/danube_gpio.c

index b6f46d696a72d2382f83914ef60f9c5db6d29857..9a4be73d6d700876e072447c4e02cbec6a0b1c8d 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_CPU_SUPPORTS_HIGHMEM=y
 # CONFIG_CRYPTO_HW is not set
 CONFIG_DANUBE=y
 CONFIG_DANUBE_ASC_UART=y
+CONFIG_DANUBE_GPIO=y
 # CONFIG_DANUBE_LED is not set
 CONFIG_DANUBE_MII0=y
 CONFIG_DANUBE_MII1=y
index f6f78adc13d4f7424322235a89ad99147db2905e..dbdb71e8fbe70c49b92e10e646ea2697ec244871 100644 (file)
@@ -422,7 +422,7 @@ danube_gpio_init (void)
                goto out;
        }
 
-       create_proc_read_entry("driver/danube_port", 0, NULL,
+       create_proc_read_entry("danube_gpio", 0, NULL,
                                danube_port_read_procmem, NULL);
 
        printk("registered danube gpio driver\n");
@@ -435,7 +435,7 @@ void __exit
 danube_gpio_exit (void)
 {
        unregister_chrdev(danube_gpio_major, "danube_gpio");
-       remove_proc_entry("danube_wdt", NULL);
+       remove_proc_entry("danube_gpio", NULL);
 }
 
 module_init(danube_gpio_init);