Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp37760imu; Tue, 22 Jan 2019 13:21:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN5wZEEG03r1YyxxKYdNC7Zl8Oy90bymqk0LXOGd/EH/dm4Yw/7iXehQYwrxjLTJ0Ipj3Yge X-Received: by 2002:a62:4156:: with SMTP id o83mr35052464pfa.72.1548192061817; Tue, 22 Jan 2019 13:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548192061; cv=none; d=google.com; s=arc-20160816; b=sbdBGi53Hc+QC3/x2Encr1sBmhY2Ay09S/1bXPWh5CRkhfmK0gHenHC4FT5/nWD8Lj 8ZYF2arvsrbNQvzPG18+UfTEfsqBEFFzPKitaTYMk+cWAZn9VRDpjLD75DFwaOkPuXL2 ro+o1SVGhS0YPmuGKaDkR3ZzhznD3ThH9UkYDjovdcsqB5xic00urMlZTldoMiD/moQ7 +crbkooHUGz27/fyccN0lkG1YKdL56gJBSbUXmmw6Uopmj7KpM/MJbjdL0Y3XzxOo6IT zsk556jg8hQTFAXAmnGxdgR3HDpvUnQEdMFDSBei2YqWeYGb9/9rCsMsVh2NdqMZ+j10 yU0Q== 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; bh=GC0KA9eOoiJyXSYYLMIncP46D7g07aB7zUi6aSHdEjw=; b=otr/DyNpFk/ctxl/cFPvMqqgK/vbs3QHSrq2vSifbYqodHOeUOkJspHsu9j2vUWiov 2fcoiLob8uHaJ4k9ggq4G6wyGvv80ujDtXnsXspIzxqHuGolJSqvY5xsTsONlD6nCy9x 22EpBQ1vJH5dZsz6ZHHlC/9IvE+9uWcHVMHVVm74ApcXtmrx4C5Az9RHeV5BwSO4kbjF fqOJJTHh9s9GgumBQ7pZJxCi3jnpza8zBmWXfZIvPNKa0JVWX3drxzCOd5KFWCboElnl rN37jYF9xx3/mZIb9YX/ZvJqk8asC/Lo9Oamr/miUvMxoYFm+rHpBEtwylTQ7N0UonIc MInw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si16957299pld.282.2019.01.22.13.20.46; Tue, 22 Jan 2019 13:21:01 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726772AbfAVVS3 (ORCPT + 99 others); Tue, 22 Jan 2019 16:18:29 -0500 Received: from mleia.com ([178.79.152.223]:58436 "EHLO mail.mleia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726143AbfAVVS2 (ORCPT ); Tue, 22 Jan 2019 16:18:28 -0500 Received: from mail.mleia.com (localhost [127.0.0.1]) by mail.mleia.com (Postfix) with ESMTP id 329A543803A; Tue, 22 Jan 2019 21:18:27 +0000 (GMT) From: Vladimir Zapolskiy To: Linus Walleij Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Laurent Meunier , Masahiro Yamada , Russell King , Charles Keepax , Richard Fitzgerald Subject: [PATCH v2 1/2] pinctrl: remove pinctrl/machine.h inclusion from pinctrl/pinconf.h Date: Tue, 22 Jan 2019 23:18:21 +0200 Message-Id: <20190122211822.7016-2-vz@mleia.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190122211822.7016-1-vz@mleia.com> References: <20190122211822.7016-1-vz@mleia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-49551924 X-CRM114-CacheID: sfid-20190122_211827_226530_5F9F1459 X-CRM114-Status: GOOD ( 12.94 ) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The change adds explicit inclusion of linux/pinctrl/machine.h header to the only needed pinctrl-madera-core.c file, and therefore inclusion of pinctrl/machine.h header from pinctrl/pinconf.h can be removed. The change is preparatory to a follow-up reversal of commit f07512e615dd ("pinctrl/pinconfig: add debug interface"). Signed-off-by: Vladimir Zapolskiy Cc: Charles Keepax Cc: Richard Fitzgerald --- Changes from v1 to v2: * new change to mitigate a compile time warning caused by a removal of implicit header inclusion, the issue was reported against v1 change. This change might be percepted as a bit awkward, but I leave a room to extend it to other drivers, if it becomes needed. However apparently only pinctrl/cirrus/pinctrl-madera-core.c misses explicit inclusion of linux/pinctrl/machine.h header. drivers/pinctrl/cirrus/pinctrl-madera-core.c | 1 + include/linux/pinctrl/pinconf.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pinctrl/cirrus/pinctrl-madera-core.c b/drivers/pinctrl/cirrus/pinctrl-madera-core.c index a5dda832024a..7c9694593f79 100644 --- a/drivers/pinctrl/cirrus/pinctrl-madera-core.c +++ b/drivers/pinctrl/cirrus/pinctrl-madera-core.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/include/linux/pinctrl/pinconf.h b/include/linux/pinctrl/pinconf.h index 8dd85d302b90..109468d9d849 100644 --- a/include/linux/pinctrl/pinconf.h +++ b/include/linux/pinctrl/pinconf.h @@ -14,8 +14,6 @@ #ifdef CONFIG_PINCONF -#include - struct pinctrl_dev; struct seq_file; -- 2.20.1