]> git.karo-electronics.de Git - mv-sheeva.git/commit
staging: brcm80211: assigned physical addresses in dma.c correct type
authorRoland Vossen <rvossen@broadcom.com>
Fri, 26 Aug 2011 13:19:35 +0000 (15:19 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Aug 2011 17:53:12 +0000 (10:53 -0700)
commitb5a44c8ad3378e88a5a14e1f74495c292a755527
tree917385d3a0100fd144054f35541134ab90d76d6a
parent87687ac926c2db6875b47f86fd466a82873751c5
staging: brcm80211: assigned physical addresses in dma.c correct type

Code cleanup. Physical addresses in dma.c are all allocated by calls to
pci_alloc_consistent(). Since that call returns physical addresses as
type 'dma_addr_t', all physical addresses in dma.c were changed from
'unsigned long' to 'dma_addr_t'.

Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/dma.c