X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH v1 1/1] platform/mellanox: Add static in struct declaration.
@ 2022-06-02 14:51 michaelsh
  0 siblings, 0 replies; only message in thread
From: michaelsh @ 2022-06-02 14:51 UTC (permalink / raw)
  To: hdegoede; +Cc: platform-driver-x86, vadimp, Michael Shych

From: Michael Shych <michaelsh@nvidia.com>

Fix problem of missing static in struct declaration.

Fixes: 662f24826f954 ("platform/mellanox: Add support for new SN2201 system")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Michael Shych <michaelsh@nvidia.com>
---
 drivers/platform/mellanox/nvsw-sn2201.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/mellanox/nvsw-sn2201.c b/drivers/platform/mellanox/nvsw-sn2201.c
index 0bcdc7c75007..2923daf63b75 100644
--- a/drivers/platform/mellanox/nvsw-sn2201.c
+++ b/drivers/platform/mellanox/nvsw-sn2201.c
@@ -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,
 };
 
-- 
2.14.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-02 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-02 14:51 [PATCH v1 1/1] platform/mellanox: Add static in struct declaration michaelsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox