Re: [PATCH 02/15] usb: musb: remove some of the never defined defines

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

 



On Fri, Mar 19, 2010 at 11:41:19PM +0100, ext Sergei Shtylyov wrote:
Hello.

Felipe Balbi wrote:

just makes the musb init code a bit cleaner.

Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
---
 drivers/usb/musb/musb_core.c |   24 ------------------------
 drivers/usb/musb/musb_core.h |   16 ++++------------
 2 files changed, 4 insertions(+), 36 deletions(-)

diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index ab147b4..5c7ff7b 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -1314,9 +1314,6 @@ enum { MUSB_CONTROLLER_MHDRC, MUSB_CONTROLLER_HDRC, };
  */
 static int __init musb_core_init(u16 musb_type, struct musb *musb)
 {
-#ifdef MUSB_AHB_ID
-	u32 data;
-#endif


  Looks like you've forgotten to remove this fragment from
drives/usb/musb/Makefile:

ifeq ($(CONFIG_USB_INVENTRA_MUSB_HAS_AHB_ID),y)
<http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/usb/musb/Makefile;h=85710ccc188754ad5bc52678fe9d2071b67ee188;hb=HEAD#l70>
EXTRA_CFLAGS += -DMUSB_AHB_ID
endif

fixed, thanks

--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux