summaryrefslogtreecommitdiffstats
path: root/drivers/serial/8250_pci.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2005-11-28 22:04:11 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-28 22:04:11 +0100
commitcb3592be272d83011051dc49f4326355c01f1e1f (patch)
tree4eb094ef4e2a2b2f5c18f5ca2c2efe06a81974a0 /drivers/serial/8250_pci.c
parent[ARM] 3181/1: add PORT_ identifier for Hilscher netx uart (diff)
downloadlinux-cb3592be272d83011051dc49f4326355c01f1e1f.tar.xz
linux-cb3592be272d83011051dc49f4326355c01f1e1f.zip
[SERIAL] mark several serial tables const
This patch marks a few serial data structures const, moving them to .rodata where they won't false-share cachelines with things that get written to. Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/8250_pci.c')
-rw-r--r--drivers/serial/8250_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c
index 5c3c03932d6d..8d92adfbb8bd 100644
--- a/drivers/serial/8250_pci.c
+++ b/drivers/serial/8250_pci.c
@@ -468,7 +468,7 @@ static unsigned short timedia_eight_port[] = {
0x9167, 0x9168, 0xA066, 0xA167, 0xA168, 0
};
-static struct timedia_struct {
+static const struct timedia_struct {
int num;
unsigned short *ids;
} timedia_data[] = {