diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-13 13:02:23 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-01-08 10:30:03 +0000 |
commit | e84ec566cf50fe6f09e8f4bf52733db0cfb3a1ba (patch) | |
tree | da7928b135025d55c6e68a246ca19bcdc40a5b51 /arch/arm/mach-sa1100/h3xxx.c | |
parent | d71111a92a49035c583575ea81c650196b41d3f4 (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.c | 2 |
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, |