mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
bus: fsl-mc: declare fsl_mc_bus_dpdbg_type static
Fix following sparse warning: CHECK drivers/bus/fsl-mc/fsl-mc-bus.c drivers/bus/fsl-mc/fsl-mc-bus.c:435:26: warning: symbol 'fsl_mc_bus_dpdbg_type' was not declared. Should it be static? fsl_mc_bus_dpdbg_type is not used outside of fsl-mc-bus.c Remove the EXPORT_SYMBOL and declare it static. Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org> Link: https://patch.msgid.link/628c49881b3a1df76cfd2f8fd2aad976692a465a.1768566053.git.chleroy@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
986d388e67
commit
45edeece5a
1 changed files with 1 additions and 2 deletions
|
|
@ -396,10 +396,9 @@ const struct device_type fsl_mc_bus_dpdmai_type = {
|
|||
};
|
||||
EXPORT_SYMBOL_GPL(fsl_mc_bus_dpdmai_type);
|
||||
|
||||
const struct device_type fsl_mc_bus_dpdbg_type = {
|
||||
static const struct device_type fsl_mc_bus_dpdbg_type = {
|
||||
.name = "fsl_mc_bus_dpdbg"
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(fsl_mc_bus_dpdbg_type);
|
||||
|
||||
static const struct device_type *fsl_mc_get_device_type(const char *type)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue