diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-26 20:04:31 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 19:20:44 -0400 |
commit | a9f8ec4db1d308643e13ec7638ccb5ace4d34982 (patch) | |
tree | 919b0962678abc700de78f2654fd5879e2c4e5b5 /drivers | |
parent | 2dfa319a649b9de029777994b6af201c1fe81d53 (diff) |
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')
-rw-r--r-- | drivers/usb/host/oxu210hp-hcd.c | 2 |
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) | |||
2684 | oxu->urb_len = 0; | 2684 | oxu->urb_len = 0; |
2685 | 2685 | ||
2686 | /* FIMXE */ | 2686 | /* FIMXE */ |
2687 | hcd->self.controller->dma_mask = 0UL; | 2687 | hcd->self.controller->dma_mask = NULL; |
2688 | 2688 | ||
2689 | if (oxu->is_otg) { | 2689 | if (oxu->is_otg) { |
2690 | oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET; | 2690 | oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET; |