spi: rockchip_sfc: Add missing include for dm/device_compat.h
Subsystems (2)
PATCH 1/1 spi: rockchip_sfc: Add missing include for dm/device_compat.h
From: Chris Morgan <[email protected]>
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 <[email protected]>
--- drivers/spi/rockchip_sfc.c | 1 + 1 file changed, 1 insertion(+)
drivers/spi/rockchip_sfc.c +1 -0
@@ -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>
Signature · 1 line
2.25.1
Quoted 7 lines · Chris Morgan
From: Chris Morgan <[email protected]>
Add missing include for
dm/device_compat.h. Without this include the SFC driver fails to compile becausedev_erranddev_dbgare not defined.Signed-off-by Chris Morgan <[email protected]>
Reviewed-by Kever Yang <[email protected]>
Thanks,
- Kever
Quoted 16 lines
--- drivers/spi/rockchip_sfc.c | 1 + 1 file changed, 1 insertion(+)drivers/spi/rockchip_sfc.c +1
-0@@ -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>