Home
last modified time | relevance | path

Searched hist:c898cba4 (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/include/linux/
H A Dcompat.hc898cba4 Mon Sep 25 21:58:29 CDT 2017 Masahiro Yamada <yamada.masahiro@socionext.com> dm: define dev_*() log functions in DM header

Many drivers had started to use dev_err, dev_info, etc. for log
functions. Currently, we are relying on <linux/compat.h>, but I
guess the best home is <dm/device.h>, taking into account that
Linux defines them in <linux/device.h>.

For now, I am leaving the ones in <linux/compat.h> because lots of
Linux-originated code uses dev_*(), but the first argument is not
struct udevice, so we need to ignore the bogus argument. More
efforts are needed to iron out the issues.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
/openbmc/u-boot/include/dm/
H A Ddevice.hc898cba4 Mon Sep 25 21:58:29 CDT 2017 Masahiro Yamada <yamada.masahiro@socionext.com> dm: define dev_*() log functions in DM header

Many drivers had started to use dev_err, dev_info, etc. for log
functions. Currently, we are relying on <linux/compat.h>, but I
guess the best home is <dm/device.h>, taking into account that
Linux defines them in <linux/device.h>.

For now, I am leaving the ones in <linux/compat.h> because lots of
Linux-originated code uses dev_*(), but the first argument is not
struct udevice, so we need to ignore the bogus argument. More
efforts are needed to iron out the issues.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>