aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/airo_cs.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2010-08-08 06:27:40 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2010-09-29 11:20:25 -0400
commit06b3a1d12f41b592972643f8b84015d6c03dc576 (patch)
tree9c2e9450a74f3cea78d8819bfcd305f3f6c40b0d /drivers/net/wireless/airo_cs.c
parent2e9b981a7c63ee8278df6823f8389d69dad1a499 (diff)
pcmcia: avoid messages on module (un)loading
printk() statements on module load or unload are frowned upon. Also, add a few __init or __exit declarations. Tested-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/net/wireless/airo_cs.c')
-rw-r--r--drivers/net/wireless/airo_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/airo_cs.c b/drivers/net/wireless/airo_cs.c
index 0fc8f639c1d4..b084278f36b7 100644
--- a/drivers/net/wireless/airo_cs.c
+++ b/drivers/net/wireless/airo_cs.c
@@ -254,12 +254,12 @@ static struct pcmcia_driver airo_driver = {
254 .resume = airo_resume, 254 .resume = airo_resume,
255}; 255};
256 256
257static int airo_cs_init(void) 257static int __init airo_cs_init(void)
258{ 258{
259 return pcmcia_register_driver(&airo_driver); 259 return pcmcia_register_driver(&airo_driver);
260} 260}
261 261
262static void airo_cs_cleanup(void) 262static void __exit airo_cs_cleanup(void)
263{ 263{
264 pcmcia_unregister_driver(&airo_driver); 264 pcmcia_unregister_driver(&airo_driver);
265} 265}