提交 6fff8c01 编写于 作者: I Ioana Ciornei 提交者: David S. Miller

bus: fsl-mc: export device types present on the bus

Export all device types present on the fsl-mc bus in order to be able to
actually use the is_fsl_mc_bus_*() functions from drivers on the bus.
Signed-off-by: NIoana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 e3b205b1
...@@ -166,42 +166,52 @@ EXPORT_SYMBOL_GPL(fsl_mc_bus_type); ...@@ -166,42 +166,52 @@ EXPORT_SYMBOL_GPL(fsl_mc_bus_type);
struct device_type fsl_mc_bus_dprc_type = { struct device_type fsl_mc_bus_dprc_type = {
.name = "fsl_mc_bus_dprc" .name = "fsl_mc_bus_dprc"
}; };
EXPORT_SYMBOL_GPL(fsl_mc_bus_dprc_type);
struct device_type fsl_mc_bus_dpni_type = { struct device_type fsl_mc_bus_dpni_type = {
.name = "fsl_mc_bus_dpni" .name = "fsl_mc_bus_dpni"
}; };
EXPORT_SYMBOL_GPL(fsl_mc_bus_dpni_type);
struct device_type fsl_mc_bus_dpio_type = { struct device_type fsl_mc_bus_dpio_type = {
.name = "fsl_mc_bus_dpio" .name = "fsl_mc_bus_dpio"
}; };
EXPORT_SYMBOL_GPL(fsl_mc_bus_dpio_type);
struct device_type fsl_mc_bus_dpsw_type = { struct device_type fsl_mc_bus_dpsw_type = {
.name = "fsl_mc_bus_dpsw" .name = "fsl_mc_bus_dpsw"
}; };
EXPORT_SYMBOL_GPL(fsl_mc_bus_dpsw_type);
struct device_type fsl_mc_bus_dpbp_type = { struct device_type fsl_mc_bus_dpbp_type = {
.name = "fsl_mc_bus_dpbp" .name = "fsl_mc_bus_dpbp"
}; };
EXPORT_SYMBOL_GPL(fsl_mc_bus_dpbp_type);
struct device_type fsl_mc_bus_dpcon_type = { struct device_type fsl_mc_bus_dpcon_type = {
.name = "fsl_mc_bus_dpcon" .name = "fsl_mc_bus_dpcon"
}; };
EXPORT_SYMBOL_GPL(fsl_mc_bus_dpcon_type);
struct device_type fsl_mc_bus_dpmcp_type = { struct device_type fsl_mc_bus_dpmcp_type = {
.name = "fsl_mc_bus_dpmcp" .name = "fsl_mc_bus_dpmcp"
}; };
EXPORT_SYMBOL_GPL(fsl_mc_bus_dpmcp_type);
struct device_type fsl_mc_bus_dpmac_type = { struct device_type fsl_mc_bus_dpmac_type = {
.name = "fsl_mc_bus_dpmac" .name = "fsl_mc_bus_dpmac"
}; };
EXPORT_SYMBOL_GPL(fsl_mc_bus_dpmac_type);
struct device_type fsl_mc_bus_dprtc_type = { struct device_type fsl_mc_bus_dprtc_type = {
.name = "fsl_mc_bus_dprtc" .name = "fsl_mc_bus_dprtc"
}; };
EXPORT_SYMBOL_GPL(fsl_mc_bus_dprtc_type);
struct device_type fsl_mc_bus_dpseci_type = { struct device_type fsl_mc_bus_dpseci_type = {
.name = "fsl_mc_bus_dpseci" .name = "fsl_mc_bus_dpseci"
}; };
EXPORT_SYMBOL_GPL(fsl_mc_bus_dpseci_type);
static struct device_type *fsl_mc_get_device_type(const char *type) static struct device_type *fsl_mc_get_device_type(const char *type)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册