linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] phy: rockchip-dphy-rx0: Include linux/delay.h
@ 2020-09-21 22:56 Tomasz Figa
  2020-09-22  7:21 ` Heiko Stübner
  2020-09-22 14:14 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Tomasz Figa @ 2020-09-21 22:56 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-arm-kernel, linux-rockchip, Kishon Vijay Abraham I,
	Vinod Koul, Heiko Stuebner, Helen Koike, 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]

Fixes: 32abcc4491c62 ("media: staging: phy-rockchip-dphy-rx0: add Rockchip MIPI Synopsys DPHY RX0 driver")
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
---
 drivers/phy/rockchip/phy-rockchip-dphy-rx0.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/rockchip/phy-rockchip-dphy-rx0.c b/drivers/phy/rockchip/phy-rockchip-dphy-rx0.c
index 7c4df6d48c43..4df9476ef2a9 100644
--- a/drivers/phy/rockchip/phy-rockchip-dphy-rx0.c
+++ b/drivers/phy/rockchip/phy-rockchip-dphy-rx0.c
@@ -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>
-- 
2.28.0.681.g6f77f65b4e-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] phy: rockchip-dphy-rx0: Include linux/delay.h
  2020-09-21 22:56 [PATCH] phy: rockchip-dphy-rx0: Include linux/delay.h Tomasz Figa
@ 2020-09-22  7:21 ` Heiko Stübner
  2020-09-22 14:14 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Heiko Stübner @ 2020-09-22  7:21 UTC (permalink / raw)
  To: linux-kernel, Tomasz Figa
  Cc: linux-arm-kernel, linux-rockchip, Kishon Vijay Abraham I,
	Vinod Koul, Helen Koike, Tomasz Figa

Am Dienstag, 22. September 2020, 00:56:18 CEST schrieb 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]
> 
> Fixes: 32abcc4491c62 ("media: staging: phy-rockchip-dphy-rx0: add Rockchip MIPI Synopsys DPHY RX0 driver")
> Signed-off-by: Tomasz Figa <tfiga@chromium.org>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] phy: rockchip-dphy-rx0: Include linux/delay.h
  2020-09-21 22:56 [PATCH] phy: rockchip-dphy-rx0: Include linux/delay.h Tomasz Figa
  2020-09-22  7:21 ` Heiko Stübner
@ 2020-09-22 14:14 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2020-09-22 14:14 UTC (permalink / raw)
  To: Tomasz Figa
  Cc: linux-kernel, linux-arm-kernel, linux-rockchip,
	Kishon Vijay Abraham I, Heiko Stuebner, Helen Koike

On 21-09-20, 22:56, Tomasz Figa wrote:
> 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

-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-22 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21 22:56 [PATCH] phy: rockchip-dphy-rx0: Include linux/delay.h Tomasz Figa
2020-09-22  7:21 ` Heiko Stübner
2020-09-22 14:14 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).