summaryrefslogtreecommitdiff
path: root/include/drm/bridge/cdns-mhdp-common.h
diff options
context:
space:
mode:
authorSandor Yu <Sandor.yu@nxp.com>2019-12-02 16:14:09 +0800
committerSandor Yu <Sandor.yu@nxp.com>2019-12-03 17:06:34 +0800
commitc3a152de1f3e9eb5acbbf3cfac623684cd22cfbc (patch)
treea2cda5e57799b0a5026dac4619a2ba2cf744c062 /include/drm/bridge/cdns-mhdp-common.h
parentce03e58492f49fee1102003702b966e2aff02fd1 (diff)
LF-296: drm: mhdp: build mhdp sub-modules into one driver module
mhdp kernel driver support build as module. All mhdp sub-modules are built into one driver module. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> Reviewed-by: Robby Cai <robby.cai@nxp.com> (cherry picked from commit f516f7769a52fdda185920a89efa3de9a1ddb9e8)
Diffstat (limited to 'include/drm/bridge/cdns-mhdp-common.h')
-rwxr-xr-xinclude/drm/bridge/cdns-mhdp-common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/drm/bridge/cdns-mhdp-common.h b/include/drm/bridge/cdns-mhdp-common.h
index bf9413dd2b80..d8a2a0e8084b 100755
--- a/include/drm/bridge/cdns-mhdp-common.h
+++ b/include/drm/bridge/cdns-mhdp-common.h
@@ -621,7 +621,6 @@ struct cdns_mhdp_connector {
struct cdns_mhdp_bridge *bridge;
};
-#ifdef CONFIG_DRM_CDNS_HDMI_CEC
struct cdns_mhdp_cec {
struct cec_adapter *adap;
struct device *dev;
@@ -630,7 +629,6 @@ struct cdns_mhdp_cec {
struct cec_msg msg;
struct task_struct *cec_worker;
};
-#endif
struct cdns_plat_data {
/* Vendor PHY support */
@@ -704,9 +702,7 @@ struct cdns_mhdp_device {
bool can_mst;
} dp;
struct _hdmi_data {
-#ifdef CONFIG_DRM_CDNS_HDMI_CEC
struct cdns_mhdp_cec cec;
-#endif
u32 char_rate;
u32 hdmi_type;
} hdmi;