diff options
-rw-r--r-- | drivers/tty/serial/sa1100.c | 2 | ||||
-rw-r--r-- | include/linux/platform_data/sa11x0-serial.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/tty/serial/sa1100.c b/drivers/tty/serial/sa1100.c index 76366574a75b..d02be025263b 100644 --- a/drivers/tty/serial/sa1100.c +++ b/drivers/tty/serial/sa1100.c @@ -661,7 +661,7 @@ static void __init sa1100_init_ports(void) PPSR |= PPC_TXD1 | PPC_TXD3; } -void sa1100_register_uart_fns(struct sa1100_port_fns *fns) +void sa1100_register_uart_fns(const struct sa1100_port_fns *fns) { unsigned int i; diff --git a/include/linux/platform_data/sa11x0-serial.h b/include/linux/platform_data/sa11x0-serial.h index 319fcc566626..9ecd9611d90f 100644 --- a/include/linux/platform_data/sa11x0-serial.h +++ b/include/linux/platform_data/sa11x0-serial.h @@ -31,10 +31,10 @@ struct sa1100_port_fns { }; #ifdef CONFIG_SERIAL_SA1100 -void sa1100_register_uart_fns(struct sa1100_port_fns *fns); +void sa1100_register_uart_fns(const struct sa1100_port_fns *fns); void sa1100_register_uart(int idx, int port); #else -static inline void sa1100_register_uart_fns(struct sa1100_port_fns *fns) +static inline void sa1100_register_uart_fns(const struct sa1100_port_fns *fns) { } static inline void sa1100_register_uart(int idx, int port) |