From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Felipe Balbi <balbi@ti.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH 4/4] usb: chipidea: USB_CHIPIDEA should depend on HAS_DMA
Date: Sun, 18 Aug 2013 22:20:44 +0200 [thread overview]
Message-ID: <1376857245-2088-4-git-send-email-geert@linux-m68k.org> (raw)
In-Reply-To: <1376857245-2088-1-git-send-email-geert@linux-m68k.org>
If NO_DMA=y:
drivers/built-in.o: In function `dma_set_coherent_mask':
include/linux/dma-mapping.h:93: undefined reference to `dma_supported'
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
drivers/usb/chipidea/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/Kconfig b/drivers/usb/chipidea/Kconfig
index d1bd8ef..dbd5232 100644
--- a/drivers/usb/chipidea/Kconfig
+++ b/drivers/usb/chipidea/Kconfig
@@ -1,6 +1,6 @@
config USB_CHIPIDEA
tristate "ChipIdea Highspeed Dual Role Controller"
- depends on USB || USB_GADGET
+ depends on (USB || USB_GADGET) && HAS_DMA
help
Say Y here if your system has a dual role high speed USB
controller based on ChipIdea silicon IP. Currently, only the
--
1.7.9.5
next prev parent reply other threads:[~2013-08-18 20:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-18 20:20 [PATCH 1/4] usb: gadget: USB_FUSB300 should depend on HAS_DMA Geert Uytterhoeven
2013-08-18 20:20 ` [PATCH 2/4] usb: gadget: USB_R8A66597 " Geert Uytterhoeven
2013-08-18 20:20 ` [PATCH 3/4] usb: gadget: USB_NET2272_DMA " Geert Uytterhoeven
2013-08-18 20:20 ` Geert Uytterhoeven [this message]
2013-08-19 1:24 ` [PATCH 4/4] usb: chipidea: USB_CHIPIDEA " Peter Chen
2013-08-27 19:16 ` Felipe Balbi
2013-08-27 19:26 ` Geert Uytterhoeven
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=1376857245-2088-4-git-send-email-geert@linux-m68k.org \
--to=geert@linux-m68k.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=balbi@ti.com \
--cc=gregkh@linuxfoundation.org \
--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).