From: Roland Vossen Date: Mon, 8 Aug 2011 13:58:22 +0000 (+0200) Subject: staging: brcm80211: fixed build issue for big endian platforms X-Git-Tag: v3.2-rc1~169^2^2~864^2~346 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98ff86e37d1d1c3ebcaa124dfa9a900eb0e1fa77;p=pandora-kernel.git staging: brcm80211: fixed build issue for big endian platforms Driver now builds for big endian mips platform, possibly also for other big endian platforms. A change was made to the R_REG and W_REG macro's. These macro's perform an xor (^) operation for endianess swap purposes. Gcc complained because an xor operation is not allowed on a pointer type. Fixed this by casting the pointer to an unsigned long. Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed