summary refs log tree commit diff
path: root/drivers/usb
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-27 02:04:31 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-24 16:20:44 -0700
commita9f8ec4db1d308643e13ec7638ccb5ace4d34982 (patch)
tree919b0962678abc700de78f2654fd5879e2c4e5b5 /drivers/usb
parent2dfa319a649b9de029777994b6af201c1fe81d53 (diff)
downloadlinux-a9f8ec4db1d308643e13ec7638ccb5ace4d34982.tar.gz
USB: host: fix sparse warning: Using plain integer as NULL pointer
Fix this sparse warning:
 drivers/usb/host/oxu210hp-hcd.c:2687:42: warning: Using plain integer as NULL pointer

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/oxu210hp-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c
index 2947c69b3476..5ac489ee3dab 100644
--- a/drivers/usb/host/oxu210hp-hcd.c
+++ b/drivers/usb/host/oxu210hp-hcd.c
@@ -2684,7 +2684,7 @@ static int oxu_reset(struct usb_hcd *hcd)
 	oxu->urb_len = 0;
 
 	/* FIMXE */
-	hcd->self.controller->dma_mask = 0UL;
+	hcd->self.controller->dma_mask = NULL;
 
 	if (oxu->is_otg) {
 		oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET;