Patch: drivers/pcmcia/cs.c w/o CONFIG_CARDBUS

From: Jan Kasprzak (kas@informatics.muni.cz)
Date: Sat Feb 12 2000 - 22:48:26 EST


        Hello,

        The 2.3.44 kernel cannot be built when you have CONFIG_PCMCIA set
and CONFIG_CARDBUS unset. The following patch takes care of it:

--- linux/drivers/pcmcia/cs.c.orig Sun Feb 13 04:44:06 2000
+++ linux/drivers/pcmcia/cs.c Sun Feb 13 04:44:21 2000
@@ -2297,7 +2297,9 @@
 EXPORT_SYMBOL(pcmcia_get_status);
 EXPORT_SYMBOL(pcmcia_get_tuple_data);
 EXPORT_SYMBOL(pcmcia_insert_card);
+#ifdef CONFIG_CARDBUS
 EXPORT_SYMBOL(pcmcia_lookup_bus);
+#endif
 EXPORT_SYMBOL(pcmcia_map_mem_page);
 EXPORT_SYMBOL(pcmcia_modify_configuration);
 EXPORT_SYMBOL(pcmcia_modify_window);

-Yenya

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
 Its purely bandwidth.  If it was 40 instances of Miguel reading web pages
flat out over 100baseT you would definitely be right. But its not...  (Alan)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:26 EST