Commit b9c29f39 authored by Michael Shych's avatar Michael Shych Committed by Hans de Goede

platform/mellanox: Add static in struct declaration.

Fix problem of missing static in struct declaration.

Fixes: 662f2482 ("platform/mellanox: Add support for new SN2201 system")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarMichael Shych <michaelsh@nvidia.com>
Link: https://lore.kernel.org/r/20220602145103.11859-1-michaelsh@nvidia.comSigned-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent a4c934d7
...@@ -326,7 +326,7 @@ static struct resource nvsw_sn2201_lpc_res[] = { ...@@ -326,7 +326,7 @@ static struct resource nvsw_sn2201_lpc_res[] = {
}; };
/* SN2201 I2C platform data. */ /* SN2201 I2C platform data. */
struct mlxreg_core_hotplug_platform_data nvsw_sn2201_i2c_data = { static struct mlxreg_core_hotplug_platform_data nvsw_sn2201_i2c_data = {
.irq = NVSW_SN2201_CPLD_SYSIRQ, .irq = NVSW_SN2201_CPLD_SYSIRQ,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment