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>
* 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
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);