Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756514AbbFQLnl (ORCPT ); Wed, 17 Jun 2015 07:43:41 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:36458 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756422AbbFQLne (ORCPT ); Wed, 17 Jun 2015 07:43:34 -0400 From: Antonio Borneo To: Francois Romieu , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Antonio Borneo , Daniel Lezcano , Thomas Gleixner Subject: [PATCH 2/2] net: via/Kconfig: replace USE_OF with OF_??? Date: Wed, 17 Jun 2015 19:42:31 +0800 Message-Id: <1434541351-9699-3-git-send-email-borneo.antonio@gmail.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1434541351-9699-1-git-send-email-borneo.antonio@gmail.com> References: <1434541351-9699-1-git-send-email-borneo.antonio@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1158 Lines: 41 USE_OF is used as intermediate Kconfig option by few arch's (ARM, MIPS, Xtensa). Replace instances of USE_OF outside of arch folders with proper OF_???. Signed-off-by: Antonio Borneo --- drivers/net/ethernet/via/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/via/Kconfig b/drivers/net/ethernet/via/Kconfig index f66ddae..ad7f512 100644 --- a/drivers/net/ethernet/via/Kconfig +++ b/drivers/net/ethernet/via/Kconfig @@ -19,7 +19,7 @@ if NET_VENDOR_VIA config VIA_RHINE tristate "VIA Rhine support" - depends on (PCI || USE_OF) + depends on (PCI || OF_IRQ) select CRC32 select MII ---help--- @@ -43,7 +43,7 @@ config VIA_RHINE_MMIO config VIA_VELOCITY tristate "VIA Velocity support" - depends on (PCI || USE_OF) + depends on (PCI || (OF_ADDRESS && OF_IRQ)) select CRC32 select CRC_CCITT select MII -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/