pcmcia/yenta_socket.c: make cardbus_type static
PATCH 1/1 pcmcia/yenta_socket.c: make cardbus_type static
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 <[email protected]>
drivers/pcmcia/yenta_socket.c renamed from drivers/pcmcia/yenta_socket.c.old +1 -1
@@ -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,
Russell King
AppliedQuoted 2 lines · Adrian Bunk
Since there's no user outside this file,
cardbus_typeindrivers/pcmcia/yenta_socket.ccan be made static.
Applied, thanks.
Signature · 4 lines
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core