From 9595260e0bfeda3a4db5dbd3ea65da03cc4529dd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 15 Feb 2012 20:02:47 +0000 Subject: [PATCH] lmb: do not export anything without CONFIG_LMB Signed-off-by: Mike Frysinger --- include/lmb.h | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.25.1