[U-Boot] [PATCH] trats2: Move include of power/max77686_pmic.h

Tom Rini trini at konsulko.com
Thu Dec 31 14:52:18 CET 2015


We only need this include file in board/samsung/common/misc.c, so move
it there.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 board/samsung/common/misc.c |    1 +
 include/configs/trats2.h    |    2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index da0d4db1..a401e75 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -19,6 +19,7 @@
 #include <linux/input.h>
 #include <dm.h>
 #include <power/pmic.h>
+#include <power/max77686_pmic.h>
 #include <mmc.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index f12a952..7861043 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -209,8 +209,6 @@ int get_soft_i2c_sda_pin(void);
 
 /* Download menu - definitions for check keys */
 #ifndef __ASSEMBLY__
-#include <power/max77686_pmic.h>
-
 #define KEY_PWR_PMIC_NAME		"MAX77686_PMIC"
 #define KEY_PWR_STATUS_REG		MAX77686_REG_PMIC_STATUS1
 #define KEY_PWR_STATUS_MASK		(1 << 0)
-- 
1.7.9.5



More information about the U-Boot mailing list