From: Andreas Bießmann Date: Sat, 4 Jun 2016 20:27:22 +0000 (+0200) Subject: linux/compat.h: add dev_warn() X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=88a7fffe382b9640099db4d655a36a3a0c68692d;p=u-boot.git linux/compat.h: add dev_warn() In order to prevent build errors for copied code from linux introduce dev_warn(). Suggested-by: Scott Wood Signed-off-by: Andreas Bießmann Acked-by: Simon Glass --- diff --git a/include/linux/compat.h b/include/linux/compat.h index e561ee311a..7236b8d0c3 100644 --- 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