[PATCH] sa1100_badge4: fix compilation

Alexey Dobriyan adobriyan at gmail.com
Wed Jan 11 11:05:45 EST 2006


  CC [M]  drivers/pcmcia/sa1100_badge4.o
drivers/pcmcia/sa1100_badge4.c:131: error: unknown field `init' specified in initializer
drivers/pcmcia/sa1100_badge4.c:132: error: unknown field `shutdown' specified in initializer

Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
---

 drivers/pcmcia/sa1100_badge4.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/pcmcia/sa1100_badge4.c
+++ b/drivers/pcmcia/sa1100_badge4.c
@@ -128,8 +128,8 @@ badge4_pcmcia_configure_socket(struct so
 
 static struct pcmcia_low_level badge4_pcmcia_ops = {
 	.owner			= THIS_MODULE,
-	.init			= sa1111_pcmcia_hw_init,
-	.shutdown		= sa1111_pcmcia_hw_shutdown,
+	.hw_init		= sa1111_pcmcia_hw_init,
+	.hw_shutdown		= sa1111_pcmcia_hw_shutdown,
 	.socket_state		= sa1111_pcmcia_socket_state,
 	.configure_socket	= badge4_pcmcia_configure_socket,
 




More information about the linux-pcmcia mailing list