diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-02-15 20:02:47 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-06-19 22:35:10 +0200 |
commit | 9595260e0bfeda3a4db5dbd3ea65da03cc4529dd (patch) | |
tree | e5f1d3a52f7dbf32bd21b2353487d57127c2a99b | |
parent | 1a3cb4ad649607aa8bf1df33a4ce7f5b9e0a5e59 (diff) | |
download | u-boot-imx-9595260e0bfeda3a4db5dbd3ea65da03cc4529dd.zip u-boot-imx-9595260e0bfeda3a4db5dbd3ea65da03cc4529dd.tar.gz u-boot-imx-9595260e0bfeda3a4db5dbd3ea65da03cc4529dd.tar.bz2 |
lmb: do not export anything without CONFIG_LMB
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | include/lmb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lmb.h b/include/lmb.h index 43082a3..5d1f4b6 100644 --- a/include/lmb.h +++ b/include/lmb.h @@ -1,6 +1,7 @@ #ifndef _LINUX_LMB_H #define _LINUX_LMB_H #ifdef __KERNEL__ +#ifdef CONFIG_LMB #include <asm/types.h> /* @@ -56,6 +57,7 @@ lmb_size_bytes(struct lmb_region *type, unsigned long region_nr) void board_lmb_reserve(struct lmb *lmb); void arch_lmb_reserve(struct lmb *lmb); +#endif /* CONFIG_LMB */ #endif /* __KERNEL__ */ #endif /* _LINUX_LMB_H */ |