liquidio: make the spinlock octeon_devices_lock static
octeon_devices_lock can be made static as it does not need to be in global scope. Cleans up sparse warning: "warning: symbol 'octeon_devices_lock' was not declared. Should it be static?" Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
10b3203eb3
commit
4454e8661f
|
@ -547,7 +547,7 @@ static atomic_t adapter_refcounts[MAX_OCTEON_DEVICES];
|
|||
|
||||
static u32 octeon_device_count;
|
||||
/* locks device array (i.e. octeon_device[]) */
|
||||
spinlock_t octeon_devices_lock;
|
||||
static spinlock_t octeon_devices_lock;
|
||||
|
||||
static struct octeon_core_setup core_setup[MAX_OCTEON_DEVICES];
|
||||
|
||||
|
|
Loading…
Reference in New Issue