From: Dirk Behme <dirk.behme@xxxxxxxxxxxxxx> Fix the warning/error: drivers/mci/mci-core.c: In function 'mci_card_probe': drivers/mci/mci-core.c:1195: warning: implicit declaration of function 'pr_warn' ... drivers/built-in.o: In function `mci_card_probe': mc13892.c:(.text.mci_card_probe+0x68): undefined reference to `pr_warn' Signed-off-by: Dirk Behme <dirk.behme@xxxxxxxxxxxxxx> --- Note: This replaces the patch http://lists.infradead.org/pipermail/barebox/2011-May/003549.html by using the kernel macro as proposed by Uwe Kleine-Koenig. include/linux/barebox-wrapper.h | 2 ++ 1 file changed, 2 insertions(+) Index: barebox.git/include/linux/barebox-wrapper.h =================================================================== --- barebox.git.orig/include/linux/barebox-wrapper.h +++ barebox.git/include/linux/barebox-wrapper.h @@ -20,6 +20,8 @@ #define printk printf +#define pr_warn pr_warning + #define __init #define MODULE_AUTHOR(x) _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox