Commit 6b71ca94 authored by Igmar Palsenberg's avatar Igmar Palsenberg Committed by Jaroslav Kysela

[QLOGIC]: Mark mbox_param[] as static to avoid namespace pollution.

parent b02a51da
...@@ -411,7 +411,7 @@ static unsigned short risc_code_addr01 = 0x1000 ; ...@@ -411,7 +411,7 @@ static unsigned short risc_code_addr01 = 0x1000 ;
if that mbox should be copied as input. For example 0x2 would mean if that mbox should be copied as input. For example 0x2 would mean
only copy mbox1. */ only copy mbox1. */
const u_char mbox_param[] = static const u_char mbox_param[] =
{ {
0x01, /* MBOX_NO_OP */ 0x01, /* MBOX_NO_OP */
0x1f, /* MBOX_LOAD_RAM */ 0x1f, /* MBOX_LOAD_RAM */
......
...@@ -54,7 +54,7 @@ static int qptis_running = 0; ...@@ -54,7 +54,7 @@ static int qptis_running = 0;
#define PACKB(a, b) (((a)<<4)|(b)) #define PACKB(a, b) (((a)<<4)|(b))
const u_char mbox_param[] = { static const u_char mbox_param[] = {
PACKB(1, 1), /* MBOX_NO_OP */ PACKB(1, 1), /* MBOX_NO_OP */
PACKB(5, 5), /* MBOX_LOAD_RAM */ PACKB(5, 5), /* MBOX_LOAD_RAM */
PACKB(2, 0), /* MBOX_EXEC_FIRMWARE */ PACKB(2, 0), /* MBOX_EXEC_FIRMWARE */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment