Message ID | 20180119064043.18241-4-linus.walleij@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp158529ljf; Thu, 18 Jan 2018 22:43:10 -0800 (PST) X-Google-Smtp-Source: ACJfBovQtAwTCv0dSUvB7wHfhaBo/8oNFUvDWJQQ5+RWEHeZvnld1oqTFFEfqTwvZ4ptZrBo/gGV X-Received: by 10.99.120.203 with SMTP id t194mr13287720pgc.39.1516344190075; Thu, 18 Jan 2018 22:43:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516344190; cv=none; d=google.com; s=arc-20160816; b=0HuPvzl6lmjavBjh6dtvMduOT6YKu5PX7szCUcdr1qe6AaDn7RtvkdGiE++QwhOhTK 4yNMworS/4yTzsHDpfAwoNNIXixUZXHPkAYIMY4aEpHTNVujlGZ9ide5xQDqE0bit08Z 5DCjX9poFpu6bXMIwjjDbyhGJhil8K0eeXKiWKjk/ILJqBmo+pfx/aKyZ7Ts2l/22rvV v8I6kbSJ+DxkKTjBVxeNf2OZr2PhjfElQW36U7xFHj3EsbP6m9uBbxoFM1rpqzMRRtAZ 5pD98Qm18pKei2uN+m3RJYjIzdrhjojRQfmZtKHdiL7WjnpI+oLWvNIjyScb5fJELBDI HY/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=n6hnCxXp2pLtLpLK3ecR9CszxErfMZwWG+w3RANhKNk=; b=COJKIYu9vUYZo2grGmc+hHpGHzTVhs6cECMNqg/6A1DIAyuztL2U+P4wr+aTu0ozxZ 5+Xd+jA+ktG+3tJC9DygFJ/BsoLCjh06l2WJGGqQVr6ETmsdzS/rqm1X1wAq7jWOy+tl UY2bNxNQ2j9v57DHeR9WRjMZBO83iW2Q2pczwFFWqEkPvPVik8G925jylcCdcMWYGi+j iurZF63uMGaFyL+ll3yZNvXRXaKK/LTEZ7IKqxwjlTalyCB++Y5F6z4Qqe0gZ4/i1F7c yiPYzMMWd0EOA8GkB+BznpIgLyXV8b7jG028q+rcUQ8S5cdqVVSv1Lh/vhzV6ei9gzP7 1bJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GmUQ+GUl; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-gpio-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si4258421pgo.193.2018.01.18.22.43.09; Thu, 18 Jan 2018 22:43:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GmUQ+GUl; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753921AbeASGnJ (ORCPT <rfc822; manivannan.sadhasivam@linaro.org> + 6 others); Fri, 19 Jan 2018 01:43:09 -0500 Received: from mail-lf0-f66.google.com ([209.85.215.66]:36032 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753773AbeASGnI (ORCPT <rfc822; linux-gpio@vger.kernel.org>); Fri, 19 Jan 2018 01:43:08 -0500 Received: by mail-lf0-f66.google.com with SMTP id t79so820157lfe.3 for <linux-gpio@vger.kernel.org>; Thu, 18 Jan 2018 22:43:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BB0Bcb3BBhp6WK+EfijCcEbZGU11oIxHl4JuQwj1Mec=; b=GmUQ+GUlENyoOPbaLkS+PkPuCT3QMfk5cDRZ40NcFeD7LDmdIJ5LK6kO3s4U3iMnZQ tZbJcILuqU9CWincknImaC8MYKlWU6CegQhFqD5Dd62/mHiDaAFfrvJWK0JhbGP6U2lI jfcV3F161jkal9prI4r02HQGPL45l/9cGApdg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BB0Bcb3BBhp6WK+EfijCcEbZGU11oIxHl4JuQwj1Mec=; b=R1Eb97K/MALlqWM/pNAhoFo1AyORDXqqzy3N4f5WmJBS1+KzOS9g07pHw7zEgHUUdK bbDDue8RSQnZfU8gZi8SHdQz7ymxXN+JJV6noNz4A90DorYNelOw2gaVzJYLLu3WT04u Jxh/JhzRZH8RqdqGKsWIQJaj6lwPy0qOGvLrCbDgtrJOP0dakSwXfJ9oNllZ8/8FfO2i AureQMoSAeT2qs8WJxisuqSrIq4V4fvxx2/3GtDGPJvSVdzL6CcDGMktf/RPrSe5CAbv cEO0dvUzNkc7+vhvl3VtuOiwqOugi7fVc2g0haugZc4r57czAU4E2Fgj2jAgZ3HaL+vl LphQ== X-Gm-Message-State: AKwxyteeSUsJ9BwYkcShMWn2VLfa6R2gAbHISYatRP6cKwCmXRLOOtBR UVewk9fX8R253Jm8tdqOSOJrTUQQ2qU= X-Received: by 10.25.168.141 with SMTP id r135mr9535394lfe.80.1516344186697; Thu, 18 Jan 2018 22:43:06 -0800 (PST) Received: from localhost.localdomain (c-cb7471d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.116.203]) by smtp.gmail.com with ESMTPSA id w13sm1633073ljw.69.2018.01.18.22.43.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2018 22:43:06 -0800 (PST) From: Linus Walleij <linus.walleij@linaro.org> To: linux-gpio@vger.kernel.org Cc: Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 04/12] gpio: altera: Include GPIO driver header Date: Fri, 19 Jan 2018 07:40:35 +0100 Message-Id: <20180119064043.18241-4-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180119064043.18241-1-linus.walleij@linaro.org> References: <20180119064043.18241-1-linus.walleij@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: <linux-gpio.vger.kernel.org> X-Mailing-List: linux-gpio@vger.kernel.org |
Series |
[01/12] gpio: 74x174: Include proper headers
|
expand
|
diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gpio-altera.c index 8e76d390e653..8c3ff6e2366f 100644 --- a/drivers/gpio/gpio-altera.c +++ b/drivers/gpio/gpio-altera.c @@ -18,7 +18,8 @@ #include <linux/io.h> #include <linux/module.h> -#include <linux/of_gpio.h> +#include <linux/gpio/driver.h> +#include <linux/of_gpio.h> /* For of_mm_gpio_chip */ #include <linux/platform_device.h> #define ALTERA_GPIO_MAX_NGPIO 32
This is a GPIO driver so it should definately include <linux/gpio/driver.h>. We want to get rid of <linux/of_gpio.h> but that will take a bit longer. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/gpio/gpio-altera.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html