[hch: [PATCH] kill useless CS_RELEASE printing]

Christoph Hellwig hch at lst.de
Mon Sep 22 12:16:49 BST 2003


no pcmcia list at vger :)

----- Forwarded message from Christoph Hellwig <hch> -----

Date: Mon, 22 Sep 2003 11:14:38 +0200
From: Christoph Hellwig <hch>
Subject: [PATCH] kill useless CS_RELEASE printing
To: rmk at arm.linux.org.uk
Cc: linux-pcmcia at vger.kernel.org

We've forked from pcmcia_cs long time ago so this version number
printing is pretty useless.  IMHO all printks should go away completly
but I'll rather leave that to the individual maintainers..


--- 1.2/drivers/pcmcia/au1000_generic.c	Tue Aug 19 16:24:34 2003
+++ edited/drivers/pcmcia/au1000_generic.c	Sun Sep 21 17:43:24 2003
@@ -140,7 +140,7 @@
 	struct pcmcia_state state;
 	unsigned int i;
 
-	printk("\nAu1x00 PCMCIA (CS release %s)\n", CS_RELEASE);
+	printk("\nAu1x00 PCMCIA\n");
 
 #ifndef CONFIG_64BIT_PHYS_ADDR
 	printk(KERN_ERR "Au1x00 PCMCIA 36 bit IO support not enabled\n");
--- 1.62/drivers/pcmcia/cs.c	Tue Sep  9 00:15:21 2003
+++ edited/drivers/pcmcia/cs.c	Sun Sep 21 17:42:37 2003
@@ -82,7 +82,7 @@
 #define OPTIONS PCI_OPT CB_OPT PM_OPT
 #endif
 
-static const char *release = "Linux Kernel Card Services " CS_RELEASE;
+static const char *release = "Linux Kernel Card Services";
 static const char *options = "options: " OPTIONS;
 
 /*====================================================================*/
@@ -90,8 +90,7 @@
 /* Module parameters */
 
 MODULE_AUTHOR("David Hinds <dahinds at users.sourceforge.net>");
-MODULE_DESCRIPTION("Linux Kernel Card Services " CS_RELEASE
-		   "\n  options:" OPTIONS);
+MODULE_DESCRIPTION("Linux Kernel Card Services\noptions:" OPTIONS);
 MODULE_LICENSE("Dual MPL/GPL");	  
 
 #define INT_MODULE_PARM(n, v) static int n = v; MODULE_PARM(n, "i")
--- 1.38/drivers/pcmcia/ds.c	Tue Aug 26 18:25:41 2003
+++ edited/drivers/pcmcia/ds.c	Sun Sep 21 17:42:48 2003
@@ -64,7 +64,7 @@
 /* Module parameters */
 
 MODULE_AUTHOR("David Hinds <dahinds at users.sourceforge.net>");
-MODULE_DESCRIPTION("PCMCIA Driver Services " CS_RELEASE);
+MODULE_DESCRIPTION("PCMCIA Driver Services");
 MODULE_LICENSE("Dual MPL/GPL");
 
 #define INT_MODULE_PARM(n, v) static int n = v; MODULE_PARM(n, "i")
--- 1.13/drivers/pcmcia/sa11xx_core.c	Sat Sep  6 22:34:13 2003
+++ edited/drivers/pcmcia/sa11xx_core.c	Sun Sep 21 17:43:09 2003
@@ -946,7 +946,7 @@
 {
 	int ret;
 
-	printk(KERN_INFO "SA11xx PCMCIA (CS release %s)\n", CS_RELEASE);
+	printk(KERN_INFO "SA11xx PCMCIA\n");
 
 	ret = cpufreq_register_notifier(&sa1100_pcmcia_notifier_block,
 					CPUFREQ_TRANSITION_NOTIFIER);

----- End forwarded message -----



More information about the linux-pcmcia mailing list