danube gpio clean up

SVN-Revision: 9744
This commit is contained in:
John Crispin 2007-12-13 22:43:22 +00:00
parent fe1ee2d5b9
commit 9110e193c5
2 changed files with 3 additions and 2 deletions

View 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

View 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);