Message ID | 1465072042-4631-1-git-send-email-andreas@biessmann.org |
---|---|
State | Accepted |
Commit | 88a7fffe382b9640099db4d655a36a3a0c68692d |
Delegated to: | Andreas Bießmann |
Headers | show |
On 4 June 2016 at 14:27, Andreas Bießmann <andreas@biessmann.org> wrote: > 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> > --- > This is a replacement patch for '[PATCH v2 14/18] at91: mtd: nand: Add > dev_warn() to correct build error in driver' > > include/linux/compat.h | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Simon Glass <sjg@chromium.org>
Dear =?utf-8?q?Andreas_Bie=C3=9Fmann?=, <andreas@biessmann.org> writes: >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> >--- >This is a replacement patch for '[PATCH v2 14/18] at91: mtd: nand: Add >dev_warn() to correct build error in driver' > > include/linux/compat.h | 2 ++ > 1 file changed, 2 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann
diff --git a/include/linux/compat.h b/include/linux/compat.h index e561ee3..7236b8d 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
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> --- This is a replacement patch for '[PATCH v2 14/18] at91: mtd: nand: Add dev_warn() to correct build error in driver' include/linux/compat.h | 2 ++ 1 file changed, 2 insertions(+)