From patchwork Fri Aug 29 16:24:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 4811761 Return-Path: X-Original-To: patchwork-linux-wireless@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 D0E0DC0338 for ; Fri, 29 Aug 2014 16:24:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1360320123 for ; Fri, 29 Aug 2014 16:24:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3649E20117 for ; Fri, 29 Aug 2014 16:24:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753616AbaH2QY1 (ORCPT ); Fri, 29 Aug 2014 12:24:27 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:54726 "EHLO albert.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753208AbaH2QYZ (ORCPT ); Fri, 29 Aug 2014 12:24:25 -0400 Received: from ayla.of.borg ([84.193.84.167]) by albert.telenet-ops.be with bizsmtp id kgQN1o00N3cczKo06gQN1y; Fri, 29 Aug 2014 18:24:23 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.76) (envelope-from ) id 1XNOyM-00047o-3z; Fri, 29 Aug 2014 18:24:22 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1XNOyO-0000Cz-2r; Fri, 29 Aug 2014 18:24:24 +0200 From: Geert Uytterhoeven To: Brett Rudley , "John W. Linville" , "David S. Miller" Cc: linux-wireless@vger.kernel.org, brcm80211-dev-list@broadcom.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] brcmfmac: BRCMFMAC should depend on HAS_DMA Date: Fri, 29 Aug 2014 18:24:23 +0200 Message-Id: <1409329464-768-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.9.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 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 If NO_DMA=y: drivers/built-in.o: In function `brcmf_msgbuf_release_array': msgbuf.c:(.text+0x34dbbe): undefined reference to `dma_unmap_single' drivers/built-in.o: In function `brcmf_proto_msgbuf_detach': (.text+0x34dca4): undefined reference to `dma_free_coherent' drivers/built-in.o: In function `brcmf_msgbuf_get_pktid': msgbuf.c:(.text+0x34dd2a): undefined reference to `dma_unmap_single' drivers/built-in.o: In function `brcmf_msgbuf_alloc_pktid': msgbuf.c:(.text+0x34de12): undefined reference to `dma_map_single' msgbuf.c:(.text+0x34de20): undefined reference to `dma_mapping_error' drivers/built-in.o: In function `brcmf_msgbuf_remove_flowring': msgbuf.c:(.text+0x34e3d6): undefined reference to `dma_free_coherent' drivers/built-in.o: In function `brcmf_msgbuf_flowring_create': msgbuf.c:(.text+0x34e4f8): undefined reference to `dma_alloc_coherent' drivers/built-in.o: In function `brcmf_proto_msgbuf_attach': (.text+0x34f5fe): undefined reference to `dma_alloc_coherent' drivers/built-in.o: In function `brcmf_proto_msgbuf_attach': (.text+0x34f798): undefined reference to `dma_free_coherent' Signed-off-by: Geert Uytterhoeven --- drivers/net/wireless/brcm80211/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/brcm80211/Kconfig b/drivers/net/wireless/brcm80211/Kconfig index b8e2561ea645..2e0da8925834 100644 --- a/drivers/net/wireless/brcm80211/Kconfig +++ b/drivers/net/wireless/brcm80211/Kconfig @@ -19,7 +19,7 @@ config BRCMSMAC config BRCMFMAC tristate "Broadcom IEEE802.11n embedded FullMAC WLAN driver" - depends on CFG80211 + depends on CFG80211A && HAS_DMA select BRCMUTIL ---help--- This module adds support for embedded wireless adapters based on