From 28a306a4521f268bd3f597f1c67542450efc0f17 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 9 Jun 2005 10:52:06 -0700 Subject: [PATCH] [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 --- drivers/pcmcia/omap_cf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.41.1