[PATCH] drivers/pcmcia/soc_common.c: convert soc_pcmcia_sockets_lock in a mutex

Daniel Walker dwalker at mvista.com
Fri Mar 7 16:37:55 EST 2008


On Fri, 2008-03-07 at 19:37 +0100, Matthias Kaehlcke wrote:
>  extern struct list_head soc_pcmcia_sockets;
> -extern struct semaphore soc_pcmcia_sockets_lock;
> +extern struct mutex soc_pcmcia_sockets_lock;

If it's extern'ed I wonder where else it's getting used? If it's not
used anyplace else, may as werll remove the extern and make it static ..

Daniel




More information about the linux-pcmcia mailing list