projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4c934d
)
platform/mellanox: Add static in struct declaration.
author
Michael Shych
<michaelsh@nvidia.com>
Thu, 2 Jun 2022 14:51:03 +0000
(17:51 +0300)
committer
Hans de Goede
<hdegoede@redhat.com>
Fri, 10 Jun 2022 19:59:08 +0000
(21:59 +0200)
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>
Link:
https://lore.kernel.org/r/20220602145103.11859-1-michaelsh@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/mellanox/nvsw-sn2201.c
patch
|
blob
|
history
diff --git
a/drivers/platform/mellanox/nvsw-sn2201.c
b/drivers/platform/mellanox/nvsw-sn2201.c
index
0bcdc7c
..
2923daf
100644
(file)
--- 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 = {
+st
atic st
ruct mlxreg_core_hotplug_platform_data nvsw_sn2201_i2c_data = {
.irq = NVSW_SN2201_CPLD_SYSIRQ,
};