mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
qla2xxx: Declare an array with file scope static
This patch avoids that building with W=1 triggers a compiler warning about a missing declaration. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Cc: Quinn Tran <quinn.tran@qlogic.com> Cc: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
c2a5d94ffd
commit
ca825828a5
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
#include <linux/gfp.h>
|
#include <linux/gfp.h>
|
||||||
|
|
||||||
struct rom_cmd {
|
static struct rom_cmd {
|
||||||
uint16_t cmd;
|
uint16_t cmd;
|
||||||
} rom_cmds[] = {
|
} rom_cmds[] = {
|
||||||
{ MBC_LOAD_RAM },
|
{ MBC_LOAD_RAM },
|
||||||
|
|
Loading…
Reference in a new issue