mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-12 02:30:15 +02:00
danube gpio clean up
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9744 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9b7a4f4368
commit
b23de9cdd8
@ -41,6 +41,7 @@ CONFIG_CPU_SUPPORTS_HIGHMEM=y
|
|||||||
# CONFIG_CRYPTO_HW is not set
|
# CONFIG_CRYPTO_HW is not set
|
||||||
CONFIG_DANUBE=y
|
CONFIG_DANUBE=y
|
||||||
CONFIG_DANUBE_ASC_UART=y
|
CONFIG_DANUBE_ASC_UART=y
|
||||||
|
CONFIG_DANUBE_GPIO=y
|
||||||
# CONFIG_DANUBE_LED is not set
|
# CONFIG_DANUBE_LED is not set
|
||||||
CONFIG_DANUBE_MII0=y
|
CONFIG_DANUBE_MII0=y
|
||||||
CONFIG_DANUBE_MII1=y
|
CONFIG_DANUBE_MII1=y
|
||||||
|
@ -422,7 +422,7 @@ danube_gpio_init (void)
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
create_proc_read_entry("driver/danube_port", 0, NULL,
|
create_proc_read_entry("danube_gpio", 0, NULL,
|
||||||
danube_port_read_procmem, NULL);
|
danube_port_read_procmem, NULL);
|
||||||
|
|
||||||
printk("registered danube gpio driver\n");
|
printk("registered danube gpio driver\n");
|
||||||
@ -435,7 +435,7 @@ void __exit
|
|||||||
danube_gpio_exit (void)
|
danube_gpio_exit (void)
|
||||||
{
|
{
|
||||||
unregister_chrdev(danube_gpio_major, "danube_gpio");
|
unregister_chrdev(danube_gpio_major, "danube_gpio");
|
||||||
remove_proc_entry("danube_wdt", NULL);
|
remove_proc_entry("danube_gpio", NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
module_init(danube_gpio_init);
|
module_init(danube_gpio_init);
|
||||||
|
Loading…
Reference in New Issue
Block a user