path: root/drivers/gpu/drm/msm/dsi/pll
diff options
authorHai Li <>2015-08-13 17:45:53 -0400
committerRob Clark <>2015-08-15 18:27:29 -0400
commit1bf4d7c5651a7cfcdcd77389b42d266441ecf444 (patch)
treea717863d41f4db6597b51c6cf66c5ea67e7f0a48 /drivers/gpu/drm/msm/dsi/pll
parent5c8290284402bf7d2c12269402b3177b899c78b7 (diff)
drm/msm/dsi: Make each PHY type compilation independent
On a certain platform, only one type of DSI PHY is used. This change allows the user to only compile the PHY type which is being used. Signed-off-by: Hai Li <> Signed-off-by: Rob Clark <>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/pll')
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h b/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h
index b69df19f1fd4..063caa2c5740 100644
--- a/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h
+++ b/drivers/gpu/drm/msm/dsi/pll/dsi_pll.h
@@ -83,8 +83,16 @@ void msm_dsi_pll_helper_unregister_clks(struct platform_device *pdev,
* Initialization for Each PLL Type
struct msm_dsi_pll *msm_dsi_pll_28nm_init(struct platform_device *pdev,
enum msm_dsi_phy_type type, int id);
+static inline struct msm_dsi_pll *msm_dsi_pll_28nm_init(
+ struct platform_device *pdev, enum msm_dsi_phy_type type, int id)
+ return ERR_PTR(-ENODEV);
#endif /* __DSI_PLL_H__ */