summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/omap2430.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2009-12-04 16:47:45 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 22:55:28 +0300
commitff85494b3f06a596a3f3b2f71841de0154799918 (patch)
tree25bdb7d373ff326c106ae7b6f9410c36446c56b5 /drivers/usb/musb/omap2430.c
parent09e81f3df43af16ea58261059fe779920fde430d (diff)
downloadlinux-ff85494b3f06a596a3f3b2f71841de0154799918.tar.xz
USB: musb: omap2430: fix sparse warning
Fix the following sparse warning: drivers/usb/musb/omap2430.c:314:16: warning: Using plain integer as NULL pointer Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
-rw-r--r--drivers/usb/musb/omap2430.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 6761d2088db8..83beeac5e7bf 100644
--- a/drivers/usb/musb/omap2430.c
+++ b/drivers/usb/musb/omap2430.c
@@ -315,7 +315,7 @@ int musb_platform_exit(struct musb *musb)
musb_platform_suspend(musb);
clk_put(musb->clock);
- musb->clock = 0;
+ musb->clock = NULL;
return 0;
}