2.6.14: small patch to sdladrv.c

From: Toni Mueller
Date: Sun Nov 13 2005 - 18:55:51 EST





Hello,

while trying to build the modules for 2.6.14, I stumbled across a
glitch in drivers/net/wan/sdladrv.c. The following patch fixes compile
for me, although I don't actually have that card and thus cannot test
it.

--- sdladrv.c 2005/11/13 11:39:50 1.1
+++ sdladrv.c 2005/11/13 11:47:52
@@ -1998,7 +1998,7 @@
modname, hw->irq);

/* map the physical PCI memory to virtual memory */
- (void *)hw->dpmbase = ioremap((unsigned long)S514_mem_base_addr,
+ hw->dpmbase = (void *)ioremap((unsigned long)S514_mem_base_addr,
(unsigned long)MAX_SIZEOF_S514_MEMORY);
/* map the physical control register memory to virtual memory */
hw->vector = (unsigned long)ioremap(

Enjoy,
--Toni++

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/