Commit 28a306a4 authored by David Brownell's avatar David Brownell Committed by Tony Lindgren

[PATCH] ARM: OMAP: make rmmod work for omap_cf

Minor fixes -- doc, and "rmmod" if anyone used this as a module!
Signed-off-by: default avatarDavid Brownell <david-b@pacbell.net>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 46fc605f
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
* with various other devices (like WLAN adapters) without some external * with various other devices (like WLAN adapters) without some external
* logic to help out. * logic to help out.
* *
* Also: CF controller docs disagree with address space docs as to where * NOTE: CF controller docs disagree with address space docs as to where
* CF_BASE really lives. * CF_BASE really lives; this is a doc erratum.
*/ */
#define CF_BASE 0xfffe2800 #define CF_BASE 0xfffe2800
...@@ -362,7 +362,7 @@ static int __init omap_cf_init(void) ...@@ -362,7 +362,7 @@ static int __init omap_cf_init(void)
static void __exit omap_cf_exit(void) static void __exit omap_cf_exit(void)
{ {
if (cpu_is_omap16xx()) if (cpu_is_omap16xx())
driver_register(&omap_cf_driver); driver_unregister(&omap_cf_driver);
} }
module_init(omap_cf_init); module_init(omap_cf_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment