From patchwork Thu Oct 9 16:41:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 5059721 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9E1249F349 for ; Thu, 9 Oct 2014 16:41:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D8BA120200 for ; Thu, 9 Oct 2014 16:41:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DF1D0201FE for ; Thu, 9 Oct 2014 16:41:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757327AbaJIQl3 (ORCPT ); Thu, 9 Oct 2014 12:41:29 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:64759 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118AbaJIQl2 (ORCPT ); Thu, 9 Oct 2014 12:41:28 -0400 Received: by mail-pd0-f179.google.com with SMTP id r10so74550pdi.24 for ; Thu, 09 Oct 2014 09:41:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=ZuyZUxR2BjABUXZlioiqtuqph/ocqzM/3i07/jJlEIc=; b=hFY65VJo9Ux4BmtCJ2czdhBPolC3og1ZcIeXV0HRbHz09mWDRqs7FrBiA/fw0jmVJs UmAw2RaifNu6o3ewyr/EcgNPX+UZHHX+VXHNQq9whKnOpo7n8trouL2PE+jQP/8s9rfm 9qjqMMtkFlRuzUD2EvKwxA9qxRt3H/5CHv73F0R3KKIi8D7WW+uMcY2EcFUXTOBf8jC/ IOompkH4YqT5gse+uZx4QEcPwEXFhw4MZjGIVFGkN/bNaerPabrrhfZ8r1kQR4fQIXp/ jjSYiTkXgKbuzVcyLDm1KwJpoq4KCbQXU+0sSPP9IdTbp7P2PEboobNBV3XygoBjyPp3 Fb4Q== X-Received: by 10.66.151.200 with SMTP id us8mr839418pab.40.1412872887701; Thu, 09 Oct 2014 09:41:27 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by mx.google.com with ESMTPSA id xr10sm1070869pab.35.2014.10.09.09.41.25 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 09 Oct 2014 09:41:25 -0700 (PDT) From: Guenter Roeck To: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck , Hauke Mehrtens , Arnd Bergmann Subject: [PATCH] bcma: Add dependency on OF_ADDRESS Date: Thu, 9 Oct 2014 09:41:17 -0700 Message-Id: <1412872877-1771-1-git-send-email-linux@roeck-us.net> 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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_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 Commit 2101e533f41a ("bcma: register bcma as device tree driver") introduces a hard dependency on OF_ADDRESS into the bcma driver. OF_ADDRESS is specifically disabled for the sparc architecture. This results in the following error when building sparc64:allmodconfig. drivers/bcma/main.c: In function 'bcma_of_find_child_device': drivers/bcma/main.c:150:3: error: implicit declaration of function 'of_translate_address' Fixes: 2101e533f41a ("bcma: register bcma as device tree driver") Cc: Hauke Mehrtens Cc: Arnd Bergmann Signed-off-by: Guenter Roeck --- drivers/bcma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig index 0ee48be..ca4b420 100644 --- a/drivers/bcma/Kconfig +++ b/drivers/bcma/Kconfig @@ -1,6 +1,6 @@ config BCMA_POSSIBLE bool - depends on HAS_IOMEM && HAS_DMA + depends on HAS_IOMEM && HAS_DMA && OF_ADDRESS default y menu "Broadcom specific AMBA"