From: David Brownell Date: Thu, 9 Jun 2005 17:52:06 +0000 (-0700) Subject: [PATCH] ARM: OMAP: make rmmod work for omap_cf X-Git-Tag: v2.6.13-omap1~124 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=28a306a4521f268bd3f597f1c67542450efc0f17;p=linux-2.6-omap-h63xx.git [PATCH] ARM: OMAP: make rmmod work for omap_cf Minor fixes -- doc, and "rmmod" if anyone used this as a module! Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- diff --git a/drivers/pcmcia/omap_cf.c b/drivers/pcmcia/omap_cf.c index ac0aecd9535..bd16275a5a8 100644 --- a/drivers/pcmcia/omap_cf.c +++ b/drivers/pcmcia/omap_cf.c @@ -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);