I messed up on some of the uintptr conversions, this fixes them up
properly.
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
case SPI_BUS:
case SDIO_BUS:
#endif /* BCMSDIO */
- eromptr = (u32 *)erombase;
+ eromptr = (u32 *)(unsigned long)erombase;
break;
default:
case SPI_BUS:
case SDIO_BUS:
#endif /* BCMSDIO */
- sii->curmap = regs = (void *)addr;
- sii->curwrap = (void *)wrap;
+ sii->curmap = regs = (void *)(unsigned long)addr;
+ sii->curwrap = (void *)(unsigned long)wrap;
break;
default: