From: Mike Frysinger Date: Wed, 15 Feb 2012 20:02:47 +0000 (+0000) Subject: lmb: do not export anything without CONFIG_LMB X-Git-Tag: v2012.07-rc1~32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9595260e0bfeda3a4db5dbd3ea65da03cc4529dd;p=u-boot lmb: do not export anything without CONFIG_LMB Signed-off-by: Mike Frysinger --- diff --git a/include/lmb.h b/include/lmb.h index 43082a393f..5d1f4b624a 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 /* @@ -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 */