2004-11-13 03:07:41

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] 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]>

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


2004-11-20 09:42:26

by Russell King

[permalink] [raw]
Subject: Re: [2.6 patch] pcmcia/yenta_socket.c: make cardbus_type static

On Sat, Nov 13, 2004 at 04:02:07AM +0100, Adrian Bunk wrote:
> Since there's no user outside this file, cardbus_type in
> drivers/pcmcia/yenta_socket.c can be made static.

Applied, thanks.

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