Skip to content
Snippets Groups Projects
Commit 9595260e authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

lmb: do not export anything without CONFIG_LMB

parent 1a3cb4ad
No related branches found
No related tags found
No related merge requests found
#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) ...@@ -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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment