From patchwork Mon Oct 26 15:38:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11857619 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C40AE6A2 for ; Mon, 26 Oct 2020 15:40:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A05B522450 for ; Mon, 26 Oct 2020 15:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603726830; bh=pOt9wtKPKqangfuHUH6+tRCLKSUEff4N/khEnNsCMzg=; h=From:To:Cc:Subject:Date:List-ID:From; b=aQEcqIwM0rVORiIhBKFWJmoENgIh6pAURcXWjHiBwW2kx4OqjeZzAcD8Bhmd9zEkB UiBD0Aa9Jbbuikhr7zf8obkYQsPq14lfbkrgtTb41rVShu2alH2SHWDKUXVW+pSCl3 KBb/qx5OjVCteiD+kPHH9Z2PNOjxJ7kp2SHq7Zwo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1773323AbgJZPka (ORCPT ); Mon, 26 Oct 2020 11:40:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:34780 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1773322AbgJZPka (ORCPT ); Mon, 26 Oct 2020 11:40:30 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A457822404; Mon, 26 Oct 2020 15:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603726829; bh=pOt9wtKPKqangfuHUH6+tRCLKSUEff4N/khEnNsCMzg=; h=From:To:Cc:Subject:Date:From; b=uuV65gouyxRylexjetz28pKjdEX6gLb73pkSDShdZ4fFDhmZj0zIXbqxYJZf1cNeo U0Q/l1+LWFMjri44+WegQlxHWep/ZnodLKegr0SDiOv0e0Gsrlt4B/M8i4cWL/r/wD 0bPMP4UJsWujRLFYkc23FZdR1LAvozZ4ZiRjIKO0= From: Krzysztof Kozlowski To: Ulf Hansson , Ben Dooks , Maxime Ripard , Chen-Yu Tsai , Adrian Hunter , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] mmc: s3cmci: include GPIO descriptor consumer header Date: Mon, 26 Oct 2020 16:38:08 +0100 Message-Id: <20201026153810.89512-1-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The driver uses GPIO Descriptor Consumer Interface so include proper header to fix compile test errors like: drivers/mmc/host/s3cmci.c: In function ‘s3cmci_check_sdio_irq’: drivers/mmc/host/s3cmci.c:304:7: error: implicit declaration of function ‘gpiod_get_value’; did you mean ‘gpio_get_value’? [-Werror=implicit-function-declaration] drivers/mmc/host/s3cmci.c: In function ‘s3cmci_probe_pdata’: drivers/mmc/host/s3cmci.c:1451:19: error: implicit declaration of function ‘devm_gpiod_get_index’ [-Werror=implicit-function-declaration] Signed-off-by: Krzysztof Kozlowski --- drivers/mmc/host/s3cmci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index 643d54eceef6..a33a7823c265 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include #include