summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-sa1100/assabet.c2
-rw-r--r--arch/arm/mach-sa1100/collie.c2
-rw-r--r--arch/arm/mach-sa1100/h3xxx.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c
index 5b4ed8cbba27..d22c5b7ff74b 100644
--- a/arch/arm/mach-sa1100/assabet.c
+++ b/arch/arm/mach-sa1100/assabet.c
@@ -721,7 +721,7 @@ static void assabet_uart_pm(struct uart_port *port, u_int state, u_int oldstate)
}
}
-static struct sa1100_port_fns assabet_port_fns __initdata = {
+static const struct sa1100_port_fns assabet_port_fns __initconst = {
.pm = assabet_uart_pm,
};
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c
index 466d755d5702..ed4792a50569 100644
--- a/arch/arm/mach-sa1100/collie.c
+++ b/arch/arm/mach-sa1100/collie.c
@@ -182,7 +182,7 @@ static u_int collie_uart_get_mctrl(struct uart_port *port)
return ret;
}
-static struct sa1100_port_fns collie_port_fns __initdata = {
+static const struct sa1100_port_fns collie_port_fns __initconst = {
.set_mctrl = collie_uart_set_mctrl,
.get_mctrl = collie_uart_get_mctrl,
};
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,