Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca825828 authored by Bart Van Assche's avatar Bart Van Assche
Browse files

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: default avatarBart Van Assche <bart.vanassche@sandisk.com>
Acked-by: default avatarHimanshu Madhani <himanshu.madhani@qlogic.com>
Cc: Quinn Tran <quinn.tran@qlogic.com>
Cc: Christoph Hellwig <hch@lst.de>
parent c2a5d94f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
#include <linux/delay.h>
#include <linux/gfp.h>

struct rom_cmd {
static struct rom_cmd {
	uint16_t cmd;
} rom_cmds[] = {
	{ MBC_LOAD_RAM },