diff options
author | Dirk Behme <dirk.behme@googlemail.com> | 2011-05-31 17:32:27 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-06-01 14:55:28 +0200 |
commit | 59f06471ed9a8f74345a9840856a1ab169ff8326 (patch) | |
tree | 56f36e427ed13fa314c8ea77e09bc280b83e677b /include | |
parent | d1c02cfcecc3b4376d64514bd992cabf4f195c6b (diff) | |
download | barebox-59f06471ed9a8f74345a9840856a1ab169ff8326.tar.gz barebox-59f06471ed9a8f74345a9840856a1ab169ff8326.tar.xz |
pr_warn() must be pr_warning()
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@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/barebox-wrapper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/barebox-wrapper.h b/include/linux/barebox-wrapper.h index 1221a21fb6..1d1f846b2b 100644 --- a/include/linux/barebox-wrapper.h +++ b/include/linux/barebox-wrapper.h @@ -20,6 +20,8 @@ #define printk printf +#define pr_warn pr_warning + #define __init #define MODULE_AUTHOR(x) |