Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp4593514pja; Thu, 21 Nov 2019 22:29:37 -0800 (PST) X-Google-Smtp-Source: APXvYqzNMDBtRhTXSY3v/IgF/seZ6UJtwwe7n+KOx4Ld9mLZvW1x6sduFHwLB4jvfOAbaM9FVwwu X-Received: by 2002:a17:906:d293:: with SMTP id ay19mr19726838ejb.146.1574404177324; Thu, 21 Nov 2019 22:29:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574404177; cv=none; d=google.com; s=arc-20160816; b=IIJWaAZB2Iq3Z+sICVl8mQZ5NJ/SYanpXDIZfTywHDrZIJmPbRoZfiHVL48z1a7Xo1 K6wOM99tnk4B9N0Ikk+lPxDGiZ0FuwD6GD68Z+C1GhFq1dA7FDy+NuuCP8jCqygR+zE9 ugIe4l8umPYzk+jhFlzskacaoNk8OgrcSeyMi7ADMy8xxTl4Xt80oGGraS+nZoRB3A41 QGn+gmzXKyVXRlzdRJMoh9MjV9qW7bknGq/t7SlL1OjVOhU6TaY8wYPLVFTFooA9vDF+ 4g50dDxOuCeczCTX4uhRrhwcsxYxsV8XZwqOZv1VQX7CdWky6PsF4i9Na6A0wE0ui/BC 6sdQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=B85ZYLWkDD/rvvV35Uf8SPLGzVaRaQ71P/rKVQ/soIw=; b=EC4RjedIKyGJrd+brBGWVg++PtX1cTB2F5J87huIsnW250iW09VWC0b9/dKAyqNW2D xVX0SdMB5g2dt5n+GwxiXHqS777iOhFjg0eneWjISHRE+mMIzax5ttunwte57dKYufQs anzg35CzW9zsY5BIsL4Qj8mTHwOPCKNokfzIGlKG2b/3Yb4sWKjaB8oOlIWfCGTsEb91 NhWsXQPP+KMiedkNTS9S9xwaGpKEFr6vevNHx10wVMPJOBnV86Lp1AZniUist9ZhvzCC u6t0rq15zAqFtZxN8j4aJy4+RBLeqMCgo/+T6INyaCXFrdC7UOz4dHjTsS6H2u3FYzYv mdAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dXNXADBt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v11si4111116eda.22.2019.11.21.22.29.14; Thu, 21 Nov 2019 22:29:37 -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; dkim=pass header.i=@kernel.org header.s=default header.b=dXNXADBt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728371AbfKVG0i (ORCPT + 99 others); Fri, 22 Nov 2019 01:26:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:55610 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727867AbfKVFur (ORCPT ); Fri, 22 Nov 2019 00:50:47 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (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 3FDAB20726; Fri, 22 Nov 2019 05:50:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574401847; bh=5NqZWv/lrf+4gV1AJubypYGwHZ9tJ+dRz9dCQ+jRxVE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dXNXADBtlCp6WTkeO2bkbAJBQtoFyqxszwk3oLpjv17K/Yq1xBkfvN0YTVOarcvS5 UTXO0UreHZzj924LAsk3Qj+bnCxahhIzPUG0I3q114X27veM7WijYPW+hdVuPLbDUA wua7edgmB88ooWSBJwceer4F48IFLlSk0vzCi6b0= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Linus Walleij , Ladislav Michl , Janusz Krzysztofik , Stephen Rothwell , Tony Lindgren , Sasha Levin , linux-omap@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 085/219] memory: omap-gpmc: Get the header of the enum Date: Fri, 22 Nov 2019 00:46:57 -0500 Message-Id: <20191122054911.1750-78-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191122054911.1750-1-sashal@kernel.org> References: <20191122054911.1750-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Linus Walleij [ Upstream commit a0752e9c3097b2c4fccd618802938e0951038dfa ] Commit 21abf103818a ("gpio: Pass a flag to gpiochip_request_own_desc()") started to pass an enum gpiod_flags but this file is not including the header file that defines that enum and the compiler spits: drivers/memory/omap-gpmc.c: In function 'gpmc_probe_generic_child': drivers/memory/omap-gpmc.c:2174:9: error: type of formal parameter 4 is incomplete 0); ^ Cc: Ladislav Michl Cc: Janusz Krzysztofik Reported-by: Stephen Rothwell Fixes: 21abf103818a ("gpio: Pass a flag to gpiochip_request_own_desc()") Acked-by: Tony Lindgren Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/memory/omap-gpmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index c215287e80cf3..1c6a7c16e0c17 100644 --- a/drivers/memory/omap-gpmc.c +++ b/drivers/memory/omap-gpmc.c @@ -21,6 +21,7 @@ #include #include #include +#include /* GPIO descriptor enum */ #include #include #include -- 2.20.1