devsdspi: mark table const
authorAlan Cox <alan@linux.intel.com>
Mon, 29 Dec 2014 01:36:54 +0000 (01:36 +0000)
committerAlan Cox <alan@linux.intel.com>
Mon, 29 Dec 2014 01:36:54 +0000 (01:36 +0000)
Kernel/platform-n8vem-mark4/devsdspi.c

index ec0d074..a90e548 100644 (file)
@@ -24,7 +24,7 @@
 __sfr __at (MARK4_IO_BASE + 0x09) MARK4_SD;
 
 /* the CSI/O and SD card send bits in opposite orders, so we need to flip them over */
-static uint8_t reverse_byte[256] = {
+static const uint8_t reverse_byte[256] = {
     0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0, 0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0,
     0x08, 0x88, 0x48, 0xc8, 0x28, 0xa8, 0x68, 0xe8, 0x18, 0x98, 0x58, 0xd8, 0x38, 0xb8, 0x78, 0xf8,
     0x04, 0x84, 0x44, 0xc4, 0x24, 0xa4, 0x64, 0xe4, 0x14, 0x94, 0x54, 0xd4, 0x34, 0xb4, 0x74, 0xf4,