summaryrefslogtreecommitdiff
path: root/common/usb_storage.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 07:16:04 -0400
committerRemy Bohmer <linux@bohmer.net>2010-10-22 21:41:46 +0200
commit2ff12285426b02dd7e13f2cb2fda53800dce741c (patch)
tree3dd76e9b870b95781bfd13bb3fc6ae84542c5ad8 /common/usb_storage.c
parent0228348e9c0361dcb1c7e2678a3d899aca15f258 (diff)
downloadu-boot-imx-2ff12285426b02dd7e13f2cb2fda53800dce741c.zip
u-boot-imx-2ff12285426b02dd7e13f2cb2fda53800dce741c.tar.gz
u-boot-imx-2ff12285426b02dd7e13f2cb2fda53800dce741c.tar.bz2
usb_storage: constify us_direction lookup table
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/usb_storage.c')
-rw-r--r--common/usb_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_storage.c b/common/usb_storage.c
index 613c4f0..1e6cd6a 100644
--- a/common/usb_storage.c
+++ b/common/usb_storage.c
@@ -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,