usb_storage: constify us_direction lookup table
PATCH 1/1 usb_storage: constify us_direction lookup table
Signed-off-by Mike Frysinger <[email protected]>
--- common/usb_storage.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
common/usb_storage.c +1 -1
@@ -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 ,
Signature · 1 line
1.7.3.1
PATCH 1/1 usb_storage: constify us_direction lookup table
Hi,
2010/10/20 Mike Frysinger <[email protected]>:
Quoted 5 lines
Signed-off-by Mike Frysinger <[email protected]>---
?common/usb_storage.c | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)
Applied to u-boot-usb
Thanks.
Remy