From patchwork Mon Mar 4 20:35:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 159615 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4186555jad; Mon, 4 Mar 2019 12:36:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxqVUztr0ZWid75Ps8D3BvCC+ZCsu8eqK8cHSdbxglmMLnNHz/b7A35g7QMq6cJzM4EYS0L X-Received: by 2002:a17:902:e192:: with SMTP id cd18mr22595168plb.309.1551731795517; Mon, 04 Mar 2019 12:36:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551731795; cv=none; d=google.com; s=arc-20160816; b=LmOBTVGe9df2WMFFyEETJl9AvmgxfE2OVSEF1X2w8K+iiVd3S8TEQt4i/goFejir0z 48NkcB2UjI7ddy8APskHO5DP5x5R/7BqcEXPrb21wtV0nJfz7YCXgKjYYQwgH1s26NNv yqnpVwayZ4IqkRTkiiIdrc/QrTsOQGpkqd0zeMQeXPrRirFXtGrDDQ3bEydvjgs/sBV7 K54OPa+vR3RraQnHsI7RJSUKjohbB+PJ/QWOYuiN2dbh1qOKkKBPb+IpLE4bgHAxWyzU Q1w3I5dQ+8tXEMM4tAGwBQpKLGlUtLL6o6OumGDOwtJSPoxEC+fyr/xHsA2lhWpc5P1c muMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=IT8fdggEQTnqwCru7TXUuuj0X8PMWmsIPv45FcUSki0=; b=cbGzOTa1xV0FZaUK6ZL6SeqDyuPS2H56WUsvBNAC1bEx7xKHx0QX6gzWKeWQGK9PQj 0i0yUDY5pj4GDQ+h61dZ8C0uhb3JrhiIu2MZXzYmhV3sj3Zr7t6mvEIG/LqZlkptKWLu QBkClsaK31QAka8gwNoHXRgqHeo56yO5WhOZ6vQmocPsIQJgYI8rk0P2aDaG5VdrvarX qg9nx1wN+vltq+dukPcFES4VvxTVxmf3gNTB8G/zdmqluUypvNAtkzvehQWYQ5vkzEr4 wtUr/DA6zcwpi/7LYoQs9j1BMSik8QCTujOn83GQjXnqs8dG+5ygpX2zM1cXqXIFYS5I 0Fnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q130si6276201pfq.97.2019.03.04.12.36.34; Mon, 04 Mar 2019 12:36:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726754AbfCDUgd (ORCPT + 31 others); Mon, 4 Mar 2019 15:36:33 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:59103 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726076AbfCDUgd (ORCPT ); Mon, 4 Mar 2019 15:36:33 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1N94uf-1h4SrB47Oh-0169tH; Mon, 04 Mar 2019 21:36:07 +0100 From: Arnd Bergmann To: Andrew Lunn , Florian Fainelli , Heiner Kallweit , "David S. Miller" Cc: Arnd Bergmann , Guenter Roeck , Pankaj Bansal , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] phy: mdio-mux: fix Kconfig dependencies Date: Mon, 4 Mar 2019 21:35:10 +0100 Message-Id: <20190304203554.2017178-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:lMToDzxsVtImwok1DJRlSK0nCTEFOdnwRwOwW86IB/AInuyleKX Psg9SQAg9oJbsFlHmASmX1xlhCUw74aowClG4dxZ4yTEzxtZzdP5RhhkwZ8Hpy/EWF0RZTC B/aRBXHhxzfFlKHh8SrvV0ei4BYi53A56TgVeFgKOv2V99/XQnVtkTDrDWjMEuV6mzLj+Mw zZDYvsD/gbAvT1C4RLyVQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:eUfh0Ry6Yoo=:yFOmhaLZLk1WLO8RPVH430 5J6ebgelqeS/AMKV2XXQn8X4Dzc2XHnI1Jj8BZQ65TIhtdi2W47hUffpLwjqMU9OWQea5BkRa slirtb/LutgHkmzbqlHQJIiqqLx9ZUbF4IcKV/MdzI3TEIeAker30nXA5j5Ro5FWPV55nCom6 t4PKn71NH/mvCfeuMQMEApIkX367V47BsNqwLNmOIHfdEDY8nQlcUhwiLlNqrIyD2hnNHl+o8 VVvjsgn98e4Q8liSzr3ALESNBIJ92oaBMzI/7RqpvFBdQfI0bWblobIkEj67AxsaUEuHByRG+ NSAlE8SgCNNtGbs/FqxTyd3rIQf8/6pDW69TKgqexZ7UJhrjXNDFgTdJXXy5bYBKfz4AbITVc I4jvu01kXIrfz1l2IsAM2AY16a2v2ZIl7oBIhfSrXnfRfp2RsfTaOiVu3oF5DpgKNbpVMiF5O slWZXP6ZEbdMawX/uvx2FJ6Dj2oisqdYPdQ+RLbWehWjm7P7/oqC+mEQMIxdybvrhXdheWd6O Wy/4BnK6E4mCKnWXG/n/ThdANJub7d3mqxrwzxfB0fksGejWWh54ZANQtCSWI5kTDMKsdtbaE yxIg21KNbDlGy+pI2SN3BhNm21e5eQNlBLcarojphFH2HVYJ+UeaCo5im1KfjHWuBJIp2MMvs 7mz7dsY2cJgHcxbCpexyZIxrGYWJ4Dbiniy4dTDQv/O4nCdDSukMbWmUlKjldM4EglB0Dc4a6 CqqnqGgVJHa1FxFNyy9ZdaRtrtz0PQaQDvhp/w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MDIO_BUS_MUX can only be selected if OF_MDIO is already turned on: WARNING: unmet direct dependencies detected for MDIO_BUS_MUX Depends on [n]: NETDEVICES [=y] && MDIO_BUS [=m] && OF_MDIO [=n] Selected by [m]: - MDIO_BUS_MUX_MULTIPLEXER [=m] && NETDEVICES [=y] && MDIO_BUS [=m] && OF [=y] Fixes: 7865ad6551c9 ("drivers: net: phy: mdio-mux: Add support for Generic Mux controls") Signed-off-by: Arnd Bergmann --- drivers/net/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.0 diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 7f66af446ec7..071869db44cf 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -89,7 +89,7 @@ config MDIO_BUS_MUX_MMIOREG config MDIO_BUS_MUX_MULTIPLEXER tristate "MDIO bus multiplexer using kernel multiplexer subsystem" - depends on OF + depends on OF_MDIO select MULTIPLEXER select MDIO_BUS_MUX help