From: Andi Kleen <andi@firstfloor.org>
To: linux-usb@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Andi Kleen <ak@linux.intel.com>,
greg@kroah.com
Subject: [PATCH] USB: Build usb_speed_string unconditionally
Date: Mon, 20 Aug 2012 12:38:28 -0700 [thread overview]
Message-ID: <1345491508-30966-1-git-send-email-andi@firstfloor.org> (raw)
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
next reply other threads:[~2012-08-20 19:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-20 19:38 Andi Kleen [this message]
2012-08-20 19:47 ` [PATCH] USB: Build usb_speed_string unconditionally 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1345491508-30966-1-git-send-email-andi@firstfloor.org \
--to=andi@firstfloor.org \
--cc=ak@linux.intel.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).