* [PATCH] spi: rockchip_sfc: Add missing include for dm/device_compat.h
@ 2022-03-25 15:40 Chris Morgan
2022-03-28 12:39 ` Kever Yang
0 siblings, 1 reply; 2+ messages in thread
From: Chris Morgan @ 2022-03-25 15:40 UTC (permalink / raw)
To: u-boot; +Cc: kever.yang, philipp.tomsich, sjg, jagan, Chris Morgan
From: Chris Morgan <macromorgan@hotmail.com>
Add missing include for dm/device_compat.h. Without this include the
SFC driver fails to compile because dev_err and dev_dbg are not
defined.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
drivers/spi/rockchip_sfc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/rockchip_sfc.c b/drivers/spi/rockchip_sfc.c
index e098addddc..851a648298 100644
--- a/drivers/spi/rockchip_sfc.c
+++ b/drivers/spi/rockchip_sfc.c
@@ -12,6 +12,7 @@
#include <bouncebuf.h>
#include <clk.h>
#include <dm.h>
+#include <dm/device_compat.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/iopoll.h>
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] spi: rockchip_sfc: Add missing include for dm/device_compat.h
2022-03-25 15:40 [PATCH] spi: rockchip_sfc: Add missing include for dm/device_compat.h Chris Morgan
@ 2022-03-28 12:39 ` Kever Yang
0 siblings, 0 replies; 2+ messages in thread
From: Kever Yang @ 2022-03-28 12:39 UTC (permalink / raw)
To: Chris Morgan, u-boot; +Cc: philipp.tomsich, sjg, jagan, Chris Morgan
On 2022/3/25 23:40, Chris Morgan wrote:
> From: Chris Morgan <macromorgan@hotmail.com>
>
> Add missing include for dm/device_compat.h. Without this include the
> SFC driver fails to compile because dev_err and dev_dbg are not
> defined.
>
> Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Thanks,
- Kever
> ---
> drivers/spi/rockchip_sfc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/spi/rockchip_sfc.c b/drivers/spi/rockchip_sfc.c
> index e098addddc..851a648298 100644
> --- a/drivers/spi/rockchip_sfc.c
> +++ b/drivers/spi/rockchip_sfc.c
> @@ -12,6 +12,7 @@
> #include <bouncebuf.h>
> #include <clk.h>
> #include <dm.h>
> +#include <dm/device_compat.h>
> #include <linux/bitops.h>
> #include <linux/delay.h>
> #include <linux/iopoll.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-28 12:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25 15:40 [PATCH] spi: rockchip_sfc: Add missing include for dm/device_compat.h Chris Morgan
2022-03-28 12:39 ` Kever Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox