Browse Source

usb_storage: constify us_direction lookup table

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
master
Mike Frysinger 10 years ago
committed by Remy Bohmer
parent
commit
2ff1228542
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/usb_storage.c

+ 1
- 1
common/usb_storage.c View File

@ -70,7 +70,7 @@
/* direction table -- this indicates the direction of the data
* 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,
0x0C, 0x20, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01,


Loading…
Cancel
Save