Skip to contentSkip to conversation

phy: rockchip-dphy-rx0: Include linux/delay.h

PATCH Applied Tomasz Figa 3 participants 3 messages Sep 21, 2020 – Sep 22, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: rockchip-dphy-rx0: Include linux/delay.h

Fix an implicit declaration of usleep_range():

drivers/phy/rockchip/phy-rockchip-dphy-rx0.c: In function 'rk_dphy_enable':
drivers/phy/rockchip/phy-rockchip-dphy-rx0.c:203:2: error: implicit declaration of function 'usleep_range' [-Werror=implicit-function-declaration]

Fixes 32abcc4491c62 ("media: staging: phy-rockchip-dphy-rx0: add Rockchip MIPI Synopsys DPHY RX0 driver")
---
 drivers/phy/rockchip/phy-rockchip-dphy-rx0.c | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/rockchip/phy-rockchip-dphy-rx0.c +1 -0
index 7c4df6d48c43..4df9476ef2a9 100644
@@ -16,6 +16,7 @@
  */
 
 #include <linux/clk.h>
+#include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/mfd/syscon.h>
 #include <linux/module.h>
Signature · 1 line
2.28.0.681.g6f77f65b4e-goog
maintainer Reviewed-by on v1 1/1
#1 lore raw

Am Dienstag, 22. September 2020, 00:56:18 CEST schrieb Tomasz Figa:

Quoted 7 lines

Fix an implicit declaration of usleep_range():

drivers/phy/rockchip/phy-rockchip-dphy-rx0.c: In function 'rk_dphy_enable':
drivers/phy/rockchip/phy-rockchip-dphy-rx0.c:203:2: error: implicit declaration of function 'usleep_range' [-Werror=implicit-function-declaration]

Fixes 32abcc4491c62 ("media: staging: phy-rockchip-dphy-rx0: add Rockchip MIPI Synopsys DPHY RX0 driver")
maintainer Applied
#2 lore raw
In reply to Tomasz Figa
Quoted 4 lines · Tomasz Figa

Fix an implicit declaration of usleep_range():

drivers/phy/rockchip/phy-rockchip-dphy-rx0.c: In function 'rk_dphy_enable':
drivers/phy/rockchip/phy-rockchip-dphy-rx0.c:203:2: error: implicit declaration of function 'usleep_range' [-Werror=implicit-function-declaration]

Applied, thanks

Signature · 1 line
~Vinod