aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps
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/mtd/maps
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/mtd/maps')
-rw-r--r--drivers/mtd/maps/pcmciamtd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/maps/pcmciamtd.c b/drivers/mtd/maps/pcmciamtd.c
index 214c695a2398..5df89e742a33 100644
--- a/drivers/mtd/maps/pcmciamtd.c
+++ b/drivers/mtd/maps/pcmciamtd.c
@@ -762,8 +762,6 @@ static struct pcmcia_driver pcmciamtd_driver = {
762 762
763static int __init init_pcmciamtd(void) 763static int __init init_pcmciamtd(void)
764{ 764{
765 info(DRIVER_DESC);
766
767 if(bankwidth && bankwidth != 1 && bankwidth != 2) { 765 if(bankwidth && bankwidth != 1 && bankwidth != 2) {
768 info("bad bankwidth (%d), using default", bankwidth); 766 info("bad bankwidth (%d), using default", bankwidth);
769 bankwidth = 2; 767 bankwidth = 2;