From: Arend van Spriel Date: Mon, 15 Aug 2011 13:34:20 +0000 (+0200) Subject: staging: brcm80211: replace BUS_SWAP32 macro with cpu_to_le32() X-Git-Tag: v3.2-rc1~169^2^2~864^2~280 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9be7049ad7892d96011ee00fe430efb8f30b89b;p=pandora-kernel.git staging: brcm80211: replace BUS_SWAP32 macro with cpu_to_le32() The macro BUS_SWAP32(a) expanded to (a) which was fine for a little endian system. For big endian platform this should do as the name implies. As the driver is intended for PCI which is little-endian the macro cpu_to_le32() can be used instead. Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Henry Ptasinski Reviewed-by: Roland Vossen Signed-off-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed