summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sa1100/h3xxx.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-09-13 13:02:23 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2020-10-12 21:55:44 +0100
commit9feac9d88a76349bf91679f7fb4ee8e9b7fc419d (patch)
tree2a5e4c5c96a480a3566e8c73f0575937aa712f3a /arch/arm/mach-sa1100/h3xxx.c
parent3b25acf1615773b49319ffc95e692699675748e2 (diff)
ARM: sa1100: const-ify struct sa1100_port_fns
Constify the sa1100_port_fns structures in all boards. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/h3xxx.c')
-rw-r--r--arch/arm/mach-sa1100/h3xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/h3xxx.c b/arch/arm/mach-sa1100/h3xxx.c
index 9afa12b1a580..9197019a6f20 100644
--- a/arch/arm/mach-sa1100/h3xxx.c
+++ b/arch/arm/mach-sa1100/h3xxx.c
@@ -96,7 +96,7 @@ static void h3xxx_uart_pm(struct uart_port *port, u_int state, u_int oldstate)
}
}
-static struct sa1100_port_fns h3xxx_port_fns __initdata = {
+static const struct sa1100_port_fns h3xxx_port_fns __initconst = {
.pm = h3xxx_uart_pm,
.wake = {
[0] = SA11X0_WAKE_CTS | SA11X0_WAKE_DCD,