Commit 6ddcfdcf authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: brcm80211: fix up compiler warnings I created



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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7383141b
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -134,7 +134,7 @@ void ai_scan(si_t *sih, void *regs, uint devid)
	case SPI_BUS:
	case SPI_BUS:
	case SDIO_BUS:
	case SDIO_BUS:
#endif				/* BCMSDIO */
#endif				/* BCMSDIO */
		eromptr = (u32 *)erombase;
		eromptr = (u32 *)(unsigned long)erombase;
		break;
		break;


	default:
	default:
@@ -358,8 +358,8 @@ void *ai_setcoreidx(si_t *sih, uint coreidx)
	case SPI_BUS:
	case SPI_BUS:
	case SDIO_BUS:
	case SDIO_BUS:
#endif				/* BCMSDIO */
#endif				/* BCMSDIO */
		sii->curmap = regs = (void *)addr;
		sii->curmap = regs = (void *)(unsigned long)addr;
		sii->curwrap = (void *)wrap;
		sii->curwrap = (void *)(unsigned long)wrap;
		break;
		break;


	default:
	default: