Skip to content

Commit b9c29f3

Browse files
mshychjwrdegoede
authored andcommitted
platform/mellanox: Add static in struct declaration.
Fix problem of missing static in struct declaration. Fixes: 662f248 ("platform/mellanox: Add support for new SN2201 system") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Michael Shych <michaelsh@nvidia.com> Link: https://lore.kernel.org/r/20220602145103.11859-1-michaelsh@nvidia.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
1 parent a4c934d commit b9c29f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/platform/mellanox/nvsw-sn2201.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ static struct resource nvsw_sn2201_lpc_res[] = {
326326
};
327327

328328
/* SN2201 I2C platform data. */
329-
struct mlxreg_core_hotplug_platform_data nvsw_sn2201_i2c_data = {
329+
static struct mlxreg_core_hotplug_platform_data nvsw_sn2201_i2c_data = {
330330
.irq = NVSW_SN2201_CPLD_SYSIRQ,
331331
};
332332

0 commit comments

Comments
 (0)