diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-13 04:02:44 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-10-13 17:41:54 (GMT) |
commit | 951fe829c73b89a2e4a5b1aaae4c0a43ffa7c68e (patch) | |
tree | d0b9a3e2ac53f2773a09e6793014e12038f2fc4a /drivers/usb/renesas_usbhs/Makefile | |
parent | 482982062f1bc25ffb5383ab724d73d1a7af07cf (diff) | |
download | linux-951fe829c73b89a2e4a5b1aaae4c0a43ffa7c68e.tar.xz |
usb: gadget: renesas_usbhs: fixup driver compile style
In current renesas-usbhs,
there was inconsistency about the style of kernel module or built-in.
This patch solve it.
[ balbi@ti.com : fix compile issue when building modules ]
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/Makefile')
-rw-r--r-- | drivers/usb/renesas_usbhs/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/usb/renesas_usbhs/Makefile b/drivers/usb/renesas_usbhs/Makefile index e44984d..bc8aef4 100644 --- a/drivers/usb/renesas_usbhs/Makefile +++ b/drivers/usb/renesas_usbhs/Makefile @@ -6,5 +6,10 @@ obj-$(CONFIG_USB_RENESAS_USBHS) += renesas_usbhs.o renesas_usbhs-y := common.o mod.o pipe.o fifo.o -renesas_usbhs-$(CONFIG_USB_RENESAS_USBHS_HCD) += mod_host.o -renesas_usbhs-$(CONFIG_USB_RENESAS_USBHS_UDC) += mod_gadget.o +ifneq ($(CONFIG_USB_RENESAS_USBHS_HCD),) + renesas_usbhs-y += mod_host.o +endif + +ifneq ($(CONFIG_USB_RENESAS_USBHS_UDC),) + renesas_usbhs-y += mod_gadget.o +endif |