summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2009-12-04 15:47:45 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 11:55:28 -0800
commitff85494b3f06a596a3f3b2f71841de0154799918 (patch)
tree25bdb7d373ff326c106ae7b6f9410c36446c56b5
parent09e81f3df43af16ea58261059fe779920fde430d (diff)
downloadlwn-ff85494b3f06a596a3f3b2f71841de0154799918.tar.gz
lwn-ff85494b3f06a596a3f3b2f71841de0154799918.zip
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>
-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;
}