summaryrefslogtreecommitdiff
path: root/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-10-21 10:50:21 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-21 10:50:21 -0700
commitf024c48a77c3c20d99de8f3424e8d3a061896885 (patch)
tree500bbcb1d1dc6d0e8f5872877b1f88fd090eb901 /drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
parent8ee48db6be4d6634d3ade242470381040d4b8e21 (diff)
Staging: brcm80211: remove uintptr typedef usage
Use a unsigned long, that is the proper type for this type of thing on Linux. 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>
Diffstat (limited to 'drivers/staging/brcm80211/brcmfmac/dhd_cdc.c')
-rw-r--r--drivers/staging/brcm80211/brcmfmac/dhd_cdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c b/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
index 6bf321d32621..08aca6521f78 100644
--- a/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
+++ b/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
@@ -413,7 +413,7 @@ int dhd_prot_attach(dhd_pub_t *dhd)
}
/* ensure that the msg buf directly follows the cdc msg struct */
- if ((uintptr) (&cdc->msg + 1) != (uintptr) cdc->buf) {
+ if ((unsigned long)(&cdc->msg + 1) != (unsigned long)cdc->buf) {
DHD_ERROR(("dhd_prot_t is not correctly defined\n"));
goto fail;
}