]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/lmb.h
driver/mtd/IFC:Wait tWB time, poll R/B before command execution
[karo-tx-uboot.git] / include / lmb.h
index 43082a393fded52ec71f4bca686cffef0e1aedf8..5d1f4b624a2695b06e478dd7fcf205508d1a5cc1 100644 (file)
@@ -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 */