[PATCH] com20020 build fix

com20020.c needs to export functions if either of the ISA or PCI modules
are built as loadable modules. Or they could always be exported.

WARNING: "com20020_found" [drivers/net/arcnet/com20020-pci.ko] undefined!
WARNING: "com20020_check" [drivers/net/arcnet/com20020-pci.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Toralf Forster <toralf.foerster@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

authored by Randy Dunlap and committed by Jeff Garzik ace48ffb 0daa2303

+5 -2
+5 -2
drivers/net/arcnet/com20020.c
··· 337 337 } 338 338 } 339 339 340 - #ifdef MODULE 341 - 340 + #if defined(CONFIG_ARCNET_COM20020_PCI_MODULE) || \ 341 + defined(CONFIG_ARCNET_COM20020_ISA_MODULE) 342 342 EXPORT_SYMBOL(com20020_check); 343 343 EXPORT_SYMBOL(com20020_found); 344 + #endif 344 345 345 346 MODULE_LICENSE("GPL"); 347 + 348 + #ifdef MODULE 346 349 347 350 int init_module(void) 348 351 {