summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRazvan Stefanescu <razvan.stefanescu@nxp.com>2018-04-24 14:51:56 +0300
committerDong Aisheng <aisheng.dong@nxp.com>2019-12-02 18:03:43 +0800
commit9cc7ca640671792d905aa5c94091ef6b12aa188c (patch)
treec84f56298ec6c957d0a296c8ab5d67cf6d7d474f /include
parentcbfccf3b7619630ec39235576032f0c1bbbc7677 (diff)
bus: fsl-mc: add support for dpdmux device type
Signed-off-by: Razvan Stefanescu <razvan.stefanescu@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl/mc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/fsl/mc.h b/include/linux/fsl/mc.h
index 06515bed9266..f4eced9cbdb7 100644
--- a/include/linux/fsl/mc.h
+++ b/include/linux/fsl/mc.h
@@ -416,6 +416,7 @@ extern struct device_type fsl_mc_bus_dprc_type;
extern struct device_type fsl_mc_bus_dpni_type;
extern struct device_type fsl_mc_bus_dpio_type;
extern struct device_type fsl_mc_bus_dpsw_type;
+extern struct device_type fsl_mc_bus_dpdmux_type;
extern struct device_type fsl_mc_bus_dpbp_type;
extern struct device_type fsl_mc_bus_dpcon_type;
extern struct device_type fsl_mc_bus_dpmcp_type;
@@ -443,6 +444,11 @@ static inline bool is_fsl_mc_bus_dpsw(const struct fsl_mc_device *mc_dev)
return mc_dev->dev.type == &fsl_mc_bus_dpsw_type;
}
+static inline bool is_fsl_mc_bus_dpdmux(const struct fsl_mc_device *mc_dev)
+{
+ return mc_dev->dev.type == &fsl_mc_bus_dpdmux_type;
+}
+
static inline bool is_fsl_mc_bus_dpbp(const struct fsl_mc_device *mc_dev)
{
return mc_dev->dev.type == &fsl_mc_bus_dpbp_type;