diff options
author | John Crispin <john@openwrt.org> | 2007-12-13 22:43:22 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2007-12-13 22:43:22 +0000 |
commit | 9110e193c5d3fe3e7ddf1b74378e7b0331abaaed (patch) | |
tree | 4ae28477f5932a63a4b2139642f8c45eb8c8d013 /target | |
parent | fe1ee2d5b953647832261fba5487921da5a1b9f7 (diff) | |
download | upstream-9110e193c5d3fe3e7ddf1b74378e7b0331abaaed.tar.gz upstream-9110e193c5d3fe3e7ddf1b74378e7b0331abaaed.tar.bz2 upstream-9110e193c5d3fe3e7ddf1b74378e7b0331abaaed.zip |
danube gpio clean up
SVN-Revision: 9744
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/danube/config-2.6.23 | 1 | ||||
-rw-r--r-- | target/linux/danube/files/drivers/char/danube_gpio.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/danube/config-2.6.23 b/target/linux/danube/config-2.6.23 index b6f46d696a..9a4be73d6d 100644 --- a/target/linux/danube/config-2.6.23 +++ b/target/linux/danube/config-2.6.23 @@ -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 diff --git a/target/linux/danube/files/drivers/char/danube_gpio.c b/target/linux/danube/files/drivers/char/danube_gpio.c index f6f78adc13..dbdb71e8fb 100644 --- a/target/linux/danube/files/drivers/char/danube_gpio.c +++ b/target/linux/danube/files/drivers/char/danube_gpio.c @@ -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); |