pr_warn() must be pr_warning()
PATCH v2 1/1 pr_warn() must be pr_warning()
From: Dirk Behme <[email protected]>
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 <[email protected]>
---
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(+)
include/linux/barebox-wrapper.h +2 -0
@@ -20,6 +20,8 @@#define printk printf +#define pr_warn pr_warning +#define __init#define MODULE_AUTHOR (x)
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox