Message ID | 1451569938-20943-1-git-send-email-trini@konsulko.com |
---|---|
State | Changes Requested |
Delegated to: | Tom Rini |
Headers | show |
On Thu, Dec 31, 2015 at 08:52:18AM -0500, Tom Rini wrote: > We only need this include file in board/samsung/common/misc.c, so move > it there. > > Signed-off-by: Tom Rini <trini@konsulko.com> This in turn breaks trats and s5pc210_universal, so it's not quite there. I'll take another run at this tomorrow perhaps, but this does block the spi PR.
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)
We only need this include file in board/samsung/common/misc.c, so move it there. Signed-off-by: Tom Rini <trini@konsulko.com> --- board/samsung/common/misc.c | 1 + include/configs/trats2.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-)