Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09071e35 authored by Toni Mueller's avatar Toni Mueller Committed by Linus Torvalds
Browse files

[PATCH] sdladrv.c build fix



gcc4 doesn't allow typecasted lvals.

Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d6a1a64a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1994,7 +1994,7 @@ static int detect_s514 (sdlahw_t* hw)
		modname, hw->irq);

	/* map the physical PCI memory to virtual memory */
	(void *)hw->dpmbase = ioremap((unsigned long)S514_mem_base_addr,
	hw->dpmbase = 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(