[U-Boot] [U-Boot, v3, 8/8] dm: define dev_*() log functions in DM header
Tom Rini
trini at konsulko.com
Thu Oct 5 21:52:27 UTC 2017
On Tue, Sep 26, 2017 at 11:58:29AM +0900, Masahiro Yamada wrote:
> 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 at socionext.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171005/4b8c753c/attachment.sig>
More information about the U-Boot
mailing list