From: Simon Glass Date: Thu, 18 May 2017 20:09:31 -0600 Subject: [U-Boot] [PATCH v3 41/72] samsung: Move pmic header out of config file In-Reply-To: <20170519021002.1098-1-sjg@chromium.org> References: <20170519021002.1098-1-sjg@chromium.org> Message-ID: <20170519021002.1098-42-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de We should not be including a PMIC header file in the board config. Move it to a C file. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to move pmic header out of config file Changes in v2: None board/samsung/common/misc.c | 1 + include/configs/trats2.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index dc4dead20b..3a8e807736 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include diff --git a/include/configs/trats2.h b/include/configs/trats2.h index 6a4604ce93..927d48255c 100644 --- a/include/configs/trats2.h +++ b/include/configs/trats2.h @@ -169,7 +169,6 @@ /* Download menu - definitions for check keys */ #ifndef __ASSEMBLY__ -#include #define KEY_PWR_PMIC_NAME "MAX77686_PMIC" #define KEY_PWR_STATUS_REG MAX77686_REG_PMIC_STATUS1 -- 2.13.0.303.g4ebf302169-goog