From patchwork Thu May 8 13:52:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4136371 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8ADE1BFF02 for ; Thu, 8 May 2014 13:55:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CA625201D5 for ; Thu, 8 May 2014 13:55:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 08F8E2025B for ; Thu, 8 May 2014 13:55:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752669AbaEHNwl (ORCPT ); Thu, 8 May 2014 09:52:41 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:49352 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751501AbaEHNwk (ORCPT ); Thu, 8 May 2014 09:52:40 -0400 Received: from wuerfel.lan (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue101) with ESMTP (Nemesis) id 0LwIBy-1Wtv7V0h1K-0181T7; Thu, 08 May 2014 15:52:35 +0200 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: Felipe Balbi , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-omap@vger.kernel.org Subject: [PATCH 2/8] usb: musb: tusb-dma can't be built-in if tusb is not Date: Thu, 8 May 2014 15:52:15 +0200 Message-Id: <1399557141-1346645-3-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1399557141-1346645-1-git-send-email-arnd@arndb.de> References: <1399557141-1346645-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:iFRq6WZNp6XxuYJMGV0j/fmr9htWBTALaOUDqZnfIZu H4JqBmmZvG4ZSUHJWIxowL0e6JRRlZPqyu6brLP2XH4+Vhe0/6 /99gKLVPOjlXZnsgiCYlvPBSEXtuG1snVz5JCzu0f289uRROMY bQ/PRNIpif7L2OAsTvVrH8XEMrHCTkAqyz6rg6TC05e8/iiiu1 Q9WVxENU7P07kwxKIoF3hYEGlTdIwNIidKQ1NczMg7C19sVg7V Kq73VzfafiWJ9zEp29aPr4lU4ESW7lfwn2HTQHky1NvX+chnYz uu0w28aa+hmx0woWt4IkuVJ5GbORO/u8vjvtrbUgxwbj3xckwO X5dk4gEPGCBCABenWatI/cRHdz791p7j9ed6IKFTp Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP A configuration with CONFIG_USB_MUSB_HDRC=y, CONFIG_USB_TUSB_OMAP_DMA=y and CONFIG_USB_MUSB_TUSB6010=m causes a link failure because of the dependency on the tusb_get_revision symbol: (.text+0x154ce8): undefined reference to `tusb_get_revision' This patch ensures that either MUSB_HDRC and MUSB_TUSB6010 are both modules or both built-in, which are the valid configurations. Signed-off-by: Arnd Bergmann Cc: linux-omap@vger.kernel.org --- drivers/usb/musb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 8b78979..618b152 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -144,7 +144,7 @@ config USB_TI_CPPI41_DMA config USB_TUSB_OMAP_DMA bool 'TUSB 6010' - depends on USB_MUSB_TUSB6010 + depends on USB_MUSB_TUSB6010 = USB_MUSB_HDRC # both built-in or both modules depends on ARCH_OMAP help Enable DMA transfers on TUSB 6010 when OMAP DMA is available.