projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3cb4a
)
lmb: do not export anything without CONFIG_LMB
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 15 Feb 2012 20:02:47 +0000
(20:02 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 19 Jun 2012 20:35:10 +0000
(22:35 +0200)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/lmb.h
patch
|
blob
|
history
diff --git
a/include/lmb.h
b/include/lmb.h
index 43082a393fded52ec71f4bca686cffef0e1aedf8..5d1f4b624a2695b06e478dd7fcf205508d1a5cc1 100644
(file)
--- 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 */