From patchwork Sat Oct 4 09:54:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Gang X-Patchwork-Id: 396511 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 2C128140174 for ; Sat, 4 Oct 2014 19:49:06 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027AbaJDJss (ORCPT ); Sat, 4 Oct 2014 05:48:48 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:48264 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751315AbaJDJsq (ORCPT ); Sat, 4 Oct 2014 05:48:46 -0400 Received: by mail-pa0-f50.google.com with SMTP id kx10so2805442pab.9 for ; Sat, 04 Oct 2014 02:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=hsFx4cbz7m4k3zzhXDbF3No6jZIndss1fFYxzbOfuIY=; b=hGRd4pmT31/0iXdV0TTzCXo/O4YD1KZkW6B7If5Uba9Avpf8Ydazlm8s0u6d+Ngkh3 w2o4mUjEpsj/F3koD/ype7wyMNc76L7UZDMyRYUcyxB7dEIiXpq8jfADcbqDEt1Ui5o/ 36Rm5GhrUO4QWVIkxGfvPPc3cW1zRVAsxf41jCL/dhXmXWHeaqHyyDkfELaXkgsf0wkB u2x6Mi3JDx1Wo2LfesOicR6Z5N7nuNEUjSshzz85NioTa/ejOa+BSnU4rQKgaG1Wo8G/ 91+mzlRzNPq7Wb64wCKHEahY5YBsXQDOz4ZC61zYDfueft6Zj1JuXOFwZhWf5jrcXmlx OZvw== X-Received: by 10.66.65.130 with SMTP id x2mr12093733pas.3.1412416126186; Sat, 04 Oct 2014 02:48:46 -0700 (PDT) Received: from ShengShiZhuChengdeMacBook-Pro.local ([223.72.65.6]) by mx.google.com with ESMTPSA id g1sm6217629pdh.12.2014.10.04.02.48.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Oct 2014 02:48:45 -0700 (PDT) Message-ID: <542FC3D9.4080607@gmail.com> Date: Sat, 04 Oct 2014 17:54:33 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: f.fainelli@gmail.com CC: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, richard@nod.at Subject: [PATCH] drivers/net/phy/Kconfig: Let MDIO_BCM_UNIMAC depend on HAS_IOMEM Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org MDIO_BCM_UNIMAC needs HAS_IOMEM, so depend on it, the related error ( with allmodconfig under um): MODPOST 1205 modules ERROR: "devm_ioremap" [drivers/net/phy/mdio-bcm-unimac.ko] undefined! Signed-off-by: Chen Gang --- drivers/net/phy/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 14afa4f..75472cf7 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -205,6 +205,7 @@ config MDIO_BUS_MUX_MMIOREG config MDIO_BCM_UNIMAC tristate "Broadcom UniMAC MDIO bus controller" + depends on HAS_IOMEM help This module provides a driver for the Broadcom UniMAC MDIO busses. This hardware can be found in the Broadcom GENET Ethernet MAC