From patchwork Fri Feb 12 10:18:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 582129 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 BBBBA140BA5 for ; Fri, 12 Feb 2016 21:18:56 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=b5FmrLWE; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752126AbcBLKSi (ORCPT ); Fri, 12 Feb 2016 05:18:38 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:33784 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751937AbcBLKSf (ORCPT ); Fri, 12 Feb 2016 05:18:35 -0500 Received: by mail-pa0-f47.google.com with SMTP id fl4so32884339pad.0; Fri, 12 Feb 2016 02:18:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=LMkBgzLnrrq/5+UZNRNdiqKtA9txY26r6t3yrwIpy1w=; b=b5FmrLWE8bdar8YDKAGurOm7x1GFhvP3QVCFn9u5mBjmEre0NlSlrvnRYo2gMWASKy PU2awEpTRL7wwrgulCQ7S4v5OGmTpB2jfJnAocIWDKz2ceLwTKZyKcQ7zUywe67VktZX hp0y1KsjC+dcPO+IeNanSmBo8Xkjs8Ha6zoxKe8ZnSLwIwYpcfTcRW8rd2FwFnpRu4X2 tGnH7hM5tBxnxdeKmXtMWH0cBrWpBy9vrGx4AEHgdqyXFaGAkI6Kg6ToOmw2SJohFnpG Lg7/3D5tIWBr2NxTq5yAy7BBGT7AOVEZrp3Q+PjP1SYqX15g2W5Azw99IYPwai9tqpXP xhuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=LMkBgzLnrrq/5+UZNRNdiqKtA9txY26r6t3yrwIpy1w=; b=S1LuxNuLZ0ckMTY0vwqJmpbGt6LZJ1iaicxar3+2M/g7O0mJOd2OFRhJuFOqTmBo3Y ty/uDMRV3AMv1zHN2f0Wg5zFRdKFtfgYHvPyMWE8KV5jzSL/WP1RjhGh/e8nyUQru6I/ scDeDZixbQ9JEpVtjOFpDLiEbdXuHwKs7oVcaSsC3R/1xELVnMxa6EVLRG5SyS6xM7Kq PSCrUEQKNx/sIVJ89nz3ZE5ezlfcUo6sklVnemTtbYedrb6s0PTHCQ3mpdKKAKD52SzA s5KBY5Om90e6yFygMd6BuFYOh/lUpD1CZLgUycBq5TvrB5d1fhvGZp6pxxEswNZtxez1 RDnA== X-Gm-Message-State: AG10YOQP0bsBUZ9iLfbCT1FsYD5/88pmc3bgaQAFitqf66r181N3UH0FkE/nUqG6WFWHpg== X-Received: by 10.66.176.97 with SMTP id ch1mr962983pac.38.1455272314698; Fri, 12 Feb 2016 02:18:34 -0800 (PST) Received: from sudip-pc.vectortproxy.org ([183.82.227.168]) by smtp.gmail.com with ESMTPSA id w12sm18254560pfa.79.2016.02.12.02.18.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 02:18:34 -0800 (PST) From: Sudip Mukherjee To: Florian Fainelli Cc: linux-kernel@vger.kernel.org, kernel-testers@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Sudip Mukherjee , Helmut Buchsbaum Subject: [PATCH] net: phy: spi_ks8995: add dependency on GPIO Date: Fri, 12 Feb 2016 15:48:26 +0530 Message-Id: <1455272306-30251-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The builds of allmodconfig of s390, m68k, tilegx, tilepro is failing with the error: drivers/net/phy/spi_ks8995.c:477:3: error: implicit declaration of function 'gpiod_set_value' drivers/net/phy/spi_ks8995.c:477:19: error: implicit declaration of function 'gpio_to_desc' GPIO is now used to reset the switch so we should have a dependency on GPIOLIB. Fixes: cd6f288cbaab ("net: phy: spi_ks8995: add support for resetting switch using GPIO") Cc: Helmut Buchsbaum Signed-off-by: Sudip Mukherjee --- drivers/net/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index f0a7702..c6a4fe1 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -261,4 +261,4 @@ endif # PHYLIB config MICREL_KS8995MA tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch" - depends on SPI + depends on SPI && GPIOLIB