X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Flmb.h;h=5d1f4b624a2695b06e478dd7fcf205508d1a5cc1;hb=ba427678a419a59c091e1c816c13852fa05b24bf;hp=43082a393fded52ec71f4bca686cffef0e1aedf8;hpb=790af6ed08cc3675267191eb60403bd4f0d9a03c;p=karo-tx-uboot.git 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 */