Searched hist:"8 f1ef3f5361c9bdaf16939e3a5617d3a8865d995" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | compat.h | 8f1ef3f5361c9bdaf16939e3a5617d3a8865d995 Tue Sep 26 02:58:29 UTC 2017 Masahiro Yamada <yamada.masahiro@socionext.com> UPSTREAM: 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.
Change-Id: I18f67bd63ac22d8b69bdf8e0558600c58e8703d2 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit c898cba41e94fa87c57d71911fb812cd34c7a91e)
|
| /rk3399_rockchip-uboot/include/dm/ |
| H A D | device.h | 8f1ef3f5361c9bdaf16939e3a5617d3a8865d995 Tue Sep 26 02:58:29 UTC 2017 Masahiro Yamada <yamada.masahiro@socionext.com> UPSTREAM: 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.
Change-Id: I18f67bd63ac22d8b69bdf8e0558600c58e8703d2 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit c898cba41e94fa87c57d71911fb812cd34c7a91e)
|