usb_storage: constify us_direction lookup table
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
0228348e9c
commit
2ff1228542
@ -70,7 +70,7 @@
|
|||||||
/* direction table -- this indicates the direction of the data
|
/* direction table -- this indicates the direction of the data
|
||||||
* transfer for each command code -- a 1 indicates input
|
* transfer for each command code -- a 1 indicates input
|
||||||
*/
|
*/
|
||||||
unsigned char us_direction[256/8] = {
|
static const unsigned char us_direction[256/8] = {
|
||||||
0x28, 0x81, 0x14, 0x14, 0x20, 0x01, 0x90, 0x77,
|
0x28, 0x81, 0x14, 0x14, 0x20, 0x01, 0x90, 0x77,
|
||||||
0x0C, 0x20, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00,
|
0x0C, 0x20, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00,
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01,
|
||||||
|
Loading…
Reference in New Issue
Block a user