USB: Add empty functions in otg.h
authorMaulik Mankad <x0082077@ti.com>
Wed, 17 Feb 2010 22:09:29 +0000 (14:09 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 19 Feb 2010 23:22:17 +0000 (15:22 -0800)
commit224e1542b6ca2d38dc0c7ea65fb6760c082b1309
tree5179e348783af6c12d2806da21d41df7b33b8b80
parent5ebc86eda7ebb36ee66a90a7a5bbfc948f181088
USB: Add empty functions in otg.h

Add empty functions for usb_nop_xceiv_register()
and usb_nop_xceiv_unregister() in otg.h so that
these functions can be called even when
CONFIG_NOP_USB_XCEIV is not enabled.

It allows to remove ifdef's from board file.

Signed-off-by: Maulik Mankad <x0082077@ti.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Ajay Kumar Gupta <ajay.gupta@ti.com>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/linux/usb/otg.h