Skip to contentSkip to conversation

platform/mellanox: Add static in struct declaration.

PATCH New [email protected] 1 participant 1 message Jun 2, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/mellanox: Add static in struct declaration.

From: Michael Shych <[email protected]>

Fix problem of missing static in struct declaration.

Fixes 662f24826f954 ("platform/mellanox: Add support for new SN2201 system")
---
 drivers/platform/mellanox/nvsw-sn2201.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/mellanox/nvsw-sn2201.c +1 -1
index 0bcdc7c75007..2923daf63b75 100644
@@ -326,7 +326,7 @@ static struct resource nvsw_sn2201_lpc_res[] = {
 };
 
 /* 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,
 };
 
Signature · 1 line
2.14.1