From patchwork Mon Sep 7 11:10:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 11761925 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 4ACF5746 for ; Mon, 7 Sep 2020 17:56:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3071E2137B for ; Mon, 7 Sep 2020 17:56:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599501383; bh=juCAZlPjSSFBnGY2l7yueXOCAc4gVRZysxMl9RddlDY=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=ZQVL+xutyxuCYMrRdii1shwkDipri5ipfVW04wIcs2CJU0CVbINExfP+XT0q52E+/ kESulvHqCckpsrvIo4XM3PwmP7PIZegoG4WVTqjK5eWMGv35EfZCfKRAJMSdpthDM6 wGHnIe5aluVbzh4sgwUQdTHOxyJSmUgmWS3854pg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729400AbgIGR4R (ORCPT ); Mon, 7 Sep 2020 13:56:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:46830 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728768AbgIGLUm (ORCPT ); Mon, 7 Sep 2020 07:20:42 -0400 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8542A206D4; Mon, 7 Sep 2020 11:10:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599477057; bh=juCAZlPjSSFBnGY2l7yueXOCAc4gVRZysxMl9RddlDY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ih+Uq7Mxo0i/OfKNaxwuFtsLbcr2MNE9kHluxP/6pTKBPt89IYijnjG2IKKSyX1U7 uVA2NiuezdNElYFjQN678ByJFor149TavBmOrTws4PaSTtjgJoLd9bgsoZ5tE1SVaz 1+96W50sTgDfVSEmqLWnxMbz/zxVzcVmr4LeOBFE= Received: by pali.im (Postfix) id BB6081248; Mon, 7 Sep 2020 13:10:55 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Lorenzo Pieralisi , linux-pci@vger.kernel.org, Tomasz Maciej Nowak , Gregory Clement , Bjorn Helgaas , linux-kernel@vger.kernel.org, Andrew Lunn , Xogium , marek.behun@nic.cz Subject: [PATCH v3 1/5] PCI: aardvark: Fix compilation on s390 Date: Mon, 7 Sep 2020 13:10:34 +0200 Message-Id: <20200907111038.5811-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200907111038.5811-1-pali@kernel.org> References: <20200907111038.5811-1-pali@kernel.org> MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Include linux/gpio/consumer.h instead of linux/gpio.h, as is said in the latter file. This was reported by kernel test bot when compiling for s390. drivers/pci/controller/pci-aardvark.c:350:2: error: implicit declaration of function 'gpiod_set_value_cansleep' [-Werror,-Wimplicit-function-declaration] drivers/pci/controller/pci-aardvark.c:1074:21: error: implicit declaration of function 'devm_gpiod_get_from_of_node' [-Werror,-Wimplicit-function-declaration] drivers/pci/controller/pci-aardvark.c:1076:14: error: use of undeclared identifier 'GPIOD_OUT_LOW' Link: https://lore.kernel.org/r/202006211118.LxtENQfl%25lkp@intel.com Reported-by: kernel test robot Fixes: 5169a9851da ("PCI: aardvark: Issue PERST via GPIO") Signed-off-by: Pali Rohár Reviewed-by: Marek Behún --- drivers/pci/controller/pci-aardvark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/pci-aardvark.c b/drivers/pci/controller/pci-aardvark.c index 1559f79e63b6..1c5f2fd47c51 100644 --- a/drivers/pci/controller/pci-aardvark.c +++ b/drivers/pci/controller/pci-aardvark.c @@ -9,7 +9,7 @@ */ #include -#include +#include #include #include #include