Re: [PATCH] usb: renesas_usbhs: fixup driver compile style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 13, 2011 at 07:40:26PM +0300, Felipe Balbi wrote:
> On Wed, Oct 12, 2011 at 09:02:44PM -0700, Kuninori Morimoto wrote:
> > In current renesas-usbhs,
> > there was inconsistency about the style of kernel module or built-in.
> > This patch solve it.
> > 
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
> 
> Acked-by: Felipe Balbi <balbi@xxxxxx>

I had to make a small change here:

diff --git a/drivers/usb/renesas_usbhs/Makefile b/drivers/usb/renesas_usbhs/Makefile
index 6f99e89..bc8aef4 100644
--- a/drivers/usb/renesas_usbhs/Makefile
+++ b/drivers/usb/renesas_usbhs/Makefile
@@ -6,10 +6,10 @@ obj-$(CONFIG_USB_RENESAS_USBHS)       += renesas_usbhs.o
 
 renesas_usbhs-y                        := common.o mod.o pipe.o fifo.o
 
-ifneq ($(CONFIG_USB_RENESAS_USBHS_HCD),n)
-renesas_usbhs-y                += mod_host.o
+ifneq ($(CONFIG_USB_RENESAS_USBHS_HCD),)
+       renesas_usbhs-y         += mod_host.o
 endif
 
-ifneq ($(CONFIG_USB_RENESAS_USBHS_UDC),n)
-renesas_usbhs-y                += mod_gadget.o
+ifneq ($(CONFIG_USB_RENESAS_USBHS_UDC),)
+       renesas_usbhs-y         += mod_gadget.o
 endif


-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux