From: Alan Cox Date: Mon, 29 Dec 2014 01:36:54 +0000 (+0000) Subject: devsdspi: mark table const X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=2b3df748cf94b6b55ad1e2f41adb67d00da947ed;p=FUZIX.git devsdspi: mark table const --- diff --git a/Kernel/platform-n8vem-mark4/devsdspi.c b/Kernel/platform-n8vem-mark4/devsdspi.c index ec0d0740..a90e5489 100644 --- a/Kernel/platform-n8vem-mark4/devsdspi.c +++ b/Kernel/platform-n8vem-mark4/devsdspi.c @@ -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,