diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-13 12:10:29 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-03-26 12:09:07 +0000 |
commit | 073bec2d4c7922e2200052a9ed7d3a7c9d15520f (patch) | |
tree | 64a4a77ccc544389679b754c0ef0a0b488c9229f /include | |
parent | 8872bdb9b22fdfcadf85cc57c7141db27cbf4101 (diff) |
serial: sa1100: constify struct sa1100_port_fns
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/sa11x0-serial.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) |