[PATCH 1/4] phy: phy-rockchip-samsung-hdptx: Explicitly include pm_runtime.h

Cristian Ciocaltea posted 4 patches 1 year, 6 months ago
There is a newer version of this series
[PATCH 1/4] phy: phy-rockchip-samsung-hdptx: Explicitly include pm_runtime.h
Posted by Cristian Ciocaltea 1 year, 6 months ago
Driver makes use of helpers from pm_runtime.h, but relies on the header
file being implicitly included.

Explicitly pull the header in to avoid potential build failures in some
configurations.

Fixes: 553be2830c5f ("phy: rockchip: Add Samsung HDMI/eDP Combo PHY driver")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
---
 drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c b/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c
index 946c01210ac8..3bd9b62b23dc 100644
--- a/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c
+++ b/drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c
@@ -15,6 +15,7 @@
 #include <linux/of_platform.h>
 #include <linux/phy/phy.h>
 #include <linux/platform_device.h>
+#include <linux/pm_runtime.h>
 #include <linux/rational.h>
 #include <linux/regmap.h>
 #include <linux/reset.h>

-- 
2.45.2
Re: [PATCH 1/4] phy: phy-rockchip-samsung-hdptx: Explicitly include pm_runtime.h
Posted by Heiko Stübner 1 year, 6 months ago
Am Montag, 17. Juni 2024, 23:48:09 CEST schrieb Cristian Ciocaltea:
> Driver makes use of helpers from pm_runtime.h, but relies on the header
> file being implicitly included.
> 
> Explicitly pull the header in to avoid potential build failures in some
> configurations.
> 
> Fixes: 553be2830c5f ("phy: rockchip: Add Samsung HDMI/eDP Combo PHY driver")
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>

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