mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00:00
lmb: do not export anything without CONFIG_LMB
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
1a3cb4ad64
commit
9595260e0b
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
#ifndef _LINUX_LMB_H
|
#ifndef _LINUX_LMB_H
|
||||||
#define _LINUX_LMB_H
|
#define _LINUX_LMB_H
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
#ifdef CONFIG_LMB
|
||||||
|
|
||||||
#include <asm/types.h>
|
#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 board_lmb_reserve(struct lmb *lmb);
|
||||||
void arch_lmb_reserve(struct lmb *lmb);
|
void arch_lmb_reserve(struct lmb *lmb);
|
||||||
|
|
||||||
|
#endif /* CONFIG_LMB */
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
#endif /* _LINUX_LMB_H */
|
#endif /* _LINUX_LMB_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue