linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] USB: Build usb_speed_string unconditionally
@ 2012-08-20 19:38 Andi Kleen
  2012-08-20 19:47 ` Alan Stern
  0 siblings, 1 reply; 7+ messages in thread
From: Andi Kleen @ 2012-08-20 19:38 UTC (permalink / raw)
  To: linux-usb; +Cc: linux-kernel, Andi Kleen, greg

From: Andi Kleen <ak@linux.intel.com>

The usb core uses usb_speed_string(). But it's only selected
for USB_GADGET. Enable it unconditionally.

Fixes a lot of randconfig builds.

Cc: greg@kroah.com
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 drivers/usb/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
index f5ed3d7..d74535b 100644
--- a/drivers/usb/Makefile
+++ b/drivers/usb/Makefile
@@ -57,4 +57,4 @@ obj-$(CONFIG_USB_CHIPIDEA)	+= chipidea/
 obj-$(CONFIG_USB_RENESAS_USBHS)	+= renesas_usbhs/
 obj-$(CONFIG_USB_GADGET)	+= gadget/
 
-obj-$(CONFIG_USB_COMMON)	+= usb-common.o
+obj-y				+= usb-common.o
-- 
1.7.7.6


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-20 21:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-20 19:38 [PATCH] USB: Build usb_speed_string unconditionally Andi Kleen
2012-08-20 19:47 ` Alan Stern
2012-08-20 19:58   ` Andi Kleen
2012-08-20 20:27     ` Randy Dunlap
2012-08-20 20:42     ` Alan Stern
2012-08-20 20:49       ` Greg KH
2012-08-20 21:27         ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).