[2.6 patch] pcmcia/yenta_socket.c: make cardbus_type static

From: Adrian Bunk
Date: Fri Nov 12 2004 - 22:13:27 EST


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@xxxxxxxxx>

--- 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,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/