public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] pcmcia/yenta_socket.c: make cardbus_type static
@ 2004-11-13  3:02 Adrian Bunk
  2004-11-20  9:42 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2004-11-13  3:02 UTC (permalink / raw)
  To: linux-kernel

Since there's no user outside this file, cardbus_type in 
drivers/pcmcia/yenta_socket.c can be made static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-rc1-mm5-full/drivers/pcmcia/yenta_socket.c.old	2004-11-13 03:04:57.000000000 +0100
+++ linux-2.6.10-rc1-mm5-full/drivers/pcmcia/yenta_socket.c	2004-11-13 03:05:23.000000000 +0100
@@ -689,7 +689,7 @@
  * Different cardbus controllers have slightly different
  * initialization sequences etc details. List them here..
  */
-struct cardbus_type cardbus_type[] = {
+static struct cardbus_type cardbus_type[] = {
 	[CARDBUS_TYPE_TI]	= {
 		.override	= ti_override,
 		.save_state	= ti_save_state,


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-20  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-13  3:02 [2.6 patch] pcmcia/yenta_socket.c: make cardbus_type static Adrian Bunk
2004-11-20  9:42 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox