]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: make rmmod work for omap_cf
authorDavid Brownell <david-b@pacbell.net>
Thu, 9 Jun 2005 17:52:06 +0000 (10:52 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 9 Jun 2005 17:52:06 +0000 (10:52 -0700)
Minor fixes -- doc, and "rmmod" if anyone used this as a module!

Signed-off-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/pcmcia/omap_cf.c

index ac0aecd9535d39802c295f45b20d405cf72a2b37..bd16275a5a8771f8da917515a6d763381f18dd17 100644 (file)
@@ -34,8 +34,8 @@
  * with various other devices (like WLAN adapters) without some external
  * logic to help out.
  *
- * Also:  CF controller docs disagree with address space docs as to where
- * CF_BASE really lives.
+ * NOTE:  CF controller docs disagree with address space docs as to where
+ * CF_BASE really lives; this is a doc erratum.
  */
 #define        CF_BASE 0xfffe2800
 
@@ -362,7 +362,7 @@ static int __init omap_cf_init(void)
 static void __exit omap_cf_exit(void)
 {
        if (cpu_is_omap16xx())
-               driver_register(&omap_cf_driver);
+               driver_unregister(&omap_cf_driver);
 }
 
 module_init(omap_cf_init);