From f6e76202d4f11c8e38e2cec6111a8e2f99e83fcc Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 18 May 2017 20:09:31 -0600 Subject: samsung: Move pmic header out of config file We should not be including a PMIC header file in the board config. Move it to a C file. Signed-off-by: Simon Glass --- board/samsung/common/misc.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'board/samsung/common/misc.c') diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index dc4dead20b..b18eed2fac 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -18,6 +18,19 @@ #include #include #include +/* + * Use #ifdef to work around conflicting headers while we wait for this to be + * converted to driver model. + */ +#ifdef CONFIG_DM_PMIC_MAX77686 +#include +#endif +#ifdef CONFIG_DM_PMIC_MAX8998 +#include +#endif +#ifdef CONFIG_PMIC_MAX8997 +#include +#endif #include #include -- cgit v1.2.1