From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751609AbdJ1QvG (ORCPT ); Sat, 28 Oct 2017 12:51:06 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:39212 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751419AbdJ1QvB (ORCPT ); Sat, 28 Oct 2017 12:51:01 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9SGoDXH021928 X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: Philipp Zabel Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 3/4] reset: minimize the number of headers included from Date: Sun, 29 Oct 2017 01:50:08 +0900 Message-Id: <1509209409-2698-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509209409-2698-1-git-send-email-yamada.masahiro@socionext.com> References: <1509209409-2698-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 62e24c5775ec ("reset: add exported __reset_control_get, return NULL if optional") moved the dev->of_node reference to core.c, so does not need to know the members of struct device. Declaring device and device_node as structure is enough. is necessary for bool, true, and false. Signed-off-by: Masahiro Yamada --- include/linux/reset.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/reset.h b/include/linux/reset.h index 9329664..53e5e78 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -1,8 +1,10 @@ #ifndef _LINUX_RESET_H_ #define _LINUX_RESET_H_ -#include +#include +struct device; +struct device_node; struct reset_control; #ifdef CONFIG_RESET_CONTROLLER -- 2.7.4