summaryrefslogtreecommitdiff
path: root/include/power
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2016-01-05 13:44:26 +0530
committerJagan Teki <jteki@openedev.com>2016-01-13 18:47:28 +0530
commit425846ed8f395ca2371bb17226725c062451186d (patch)
treee524b78b70a7a9bd0d1634980e7f0ad12458767c /include/power
parente101af014b8c26d63e3a1febea7c51d4fe7d07c1 (diff)
downloadu-boot-imx-425846ed8f395ca2371bb17226725c062451186d.zip
u-boot-imx-425846ed8f395ca2371bb17226725c062451186d.tar.gz
u-boot-imx-425846ed8f395ca2371bb17226725c062451186d.tar.bz2
power: pmic.h: Drop include <spi.h>
include/power/pmic.h never used any generic spi code from include/spi.h, but this has been added in below commit. "dm: pmic: add implementation of driver model pmic uclass" (sha1: 4d9057e82be11a862db411c4867e859fe0d4ca2a) Adding functionalities in include/spi.h will trigger a build issue as this been added used in include/power/pmic.h Build issue on trats2 with adding BIT macro on spi.h: ---------------------------------------------------- CC lib/asm-offsets.s In file included from include/power/pmic.h:15:0, from include/power/max77686_pmic.h:11, from include/configs/trats2.h:212, from include/config.h:5, from include/common.h:18, from lib/asm-offsets.c:15: include/spi.h: In function 'spi_w8r8': include/spi.h:327:2: warning: implicit declaration of function 'BIT' [-Wimplicit-function-declaration] Cc: Simon Glass <sjg@chromium.org> Cc: Przemyslaw Marczak <p.marczak@samsung.com> Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/power')
-rw-r--r--include/power/pmic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/power/pmic.h b/include/power/pmic.h
index 6ba4b6e..e0b2e12 100644
--- a/include/power/pmic.h
+++ b/include/power/pmic.h
@@ -12,7 +12,6 @@
#define __CORE_PMIC_H_
#include <i2c.h>
-#include <spi.h>
#include <linux/list.h>
#include <power/power_chrg.h>