projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ab0fc
)
linux/compat.h: add dev_warn()
author
Andreas Bießmann
<andreas@biessmann.org>
Sat, 4 Jun 2016 20:27:22 +0000
(22:27 +0200)
committer
Andreas Bießmann
<andreas@biessmann.org>
Sun, 12 Jun 2016 21:49:38 +0000
(23:49 +0200)
In order to prevent build errors for copied code from linux introduce
dev_warn().
Suggested-by: Scott Wood <oss@buserror.net>
Signed-off-by: Andreas Bießmann <andreas@biessmann.org>
Acked-by: Simon Glass <sjg@chromium.org>
include/linux/compat.h
patch
|
blob
|
history
diff --git
a/include/linux/compat.h
b/include/linux/compat.h
index e561ee311a09cd546794524bd91896eb47688084..7236b8d0c302b7c42bb4128d3ea75de27ae822fe 100644
(file)
--- a/
include/linux/compat.h
+++ b/
include/linux/compat.h
@@
-25,6
+25,8
@@
extern struct p_current *current;
printf(fmt, ##args)
#define dev_err(dev, fmt, args...) \
printf(fmt, ##args)
+#define dev_warn(dev, fmt, args...) \
+ printf(fmt, ##args)
#define printk printf
#define printk_once printf