mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] sdladrv.c build fix
gcc4 doesn't allow typecasted lvals. Cc: "David S. Miller" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
d6a1a64aec
commit
09071e35f9
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue