Skip to contentSkip to conversation

pcmcia/yenta_socket.c: make cardbus_type static

PATCH Applied Adrian Bunk 2 participants 2 messages Nov 13, 2004 – Nov 20, 2004 Pcmcia

lore
Share & tools
lore
#0 lore raw

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.

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,
Applied
#1 lore raw
Quoted 2 lines · Adrian Bunk

Since there's no user outside this file, cardbus_type in drivers/pcmcia/yenta_socket.c can 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