USB: musb: Refer to musb_otg_timer_func under correct #ifdef
authorAmit Kucheria <amit.kucheria@canonical.com>
Mon, 27 Jul 2009 09:03:19 +0000 (12:03 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jul 2009 21:31:11 +0000 (14:31 -0700)
commit3a9f5bd82dc986d496d8484ff54b107b4515f43f
tree1007f3981ee90ba48fa00cc6f3533b8b9a02b9a5
parentf01b017d198486ee3553bee6841f788263cf2c23
USB: musb: Refer to musb_otg_timer_func under correct #ifdef

musb_otg_timer_func() is defined under #ifdef CONFIG_USB_MUSB_OTG.
Make sure any reference to it is also under the same #ifdef.

Without this fix, the driver failes to compile when USB_OTG is defined
but USB_MUSB_OTG isn't.

Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.c