staging: rts5139: make the local variable static
Make the local variable (media_not_present and invalid_cmd_field) static Fix the following sparse warnings in rts51x_transport.c drivers/staging/rts5139/rts51x_transport.c:649:4: warning: symbol 'media_not_present' was not declared. Should it be static? drivers/staging/rts5139/rts51x_transport.c:651:4: warning: symbol 'invalid_cmd_field' was not declared. Should it be static? Signed-off-by: Ana Rey <anarey@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
This commit is contained in:
parent
f6bd19e0ae
commit
cf883f9b06
|
@ -646,9 +646,9 @@ int rts51x_get_epc_status(struct rts51x_chip *chip, u16 *status)
|
|||
chip->usb->intr_urb->actual_length);
|
||||
}
|
||||
|
||||
u8 media_not_present[] = {
|
||||
static u8 media_not_present[] = {
|
||||
0x70, 0, 0x02, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0x3A, 0, 0, 0, 0, 0 };
|
||||
u8 invalid_cmd_field[] = {
|
||||
static u8 invalid_cmd_field[] = {
|
||||
0x70, 0, 0x05, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0x24, 0, 0, 0, 0, 0 };
|
||||
|
||||
void rts51x_invoke_transport(struct scsi_cmnd *srb, struct rts51x_chip *chip)
|
||||
|
|
Loading…
Reference in New Issue