diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-13 13:22:36 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-05-23 16:02:09 +0100 |
commit | abe3a76d021090fabef0387bf1890852d13b9da8 (patch) | |
tree | aa96b7ac6e4ccb5b90004171fae83cfbfcf40661 /arch/arm | |
parent | b47b2bdd11252632be06e937c35edbf53b0bde89 (diff) |
ARM: sa1100/hackkit: remove redundant sa1100_port_fns
The hackkit SA1100 PM function is empty, and with that removed, the
registration of the sa1100_port_fns structure is unnecessary. Remove
it.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-sa1100/hackkit.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-sa1100/hackkit.c b/arch/arm/mach-sa1100/hackkit.c index 8b7816a045dc..dfbba12968d4 100644 --- a/arch/arm/mach-sa1100/hackkit.c +++ b/arch/arm/mach-sa1100/hackkit.c @@ -45,8 +45,6 @@ /* init funcs */ static void __init hackkit_map_io(void); -static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate); - /********************************************************************** * global data */ @@ -64,10 +62,6 @@ static struct map_desc hackkit_io_desc[] __initdata = { }, }; -static const struct sa1100_port_fns hackkit_port_fns __initconst = { - .pm = hackkit_uart_pm, -}; - /********************************************************************** * Static functions */ @@ -77,7 +71,6 @@ static void __init hackkit_map_io(void) sa1100_map_io(); iotable_init(hackkit_io_desc, ARRAY_SIZE(hackkit_io_desc)); - sa1100_register_uart_fns(&hackkit_port_fns); sa1100_register_uart(0, 1); /* com port */ sa1100_register_uart(1, 2); sa1100_register_uart(2, 3); /* radio module */ @@ -85,18 +78,6 @@ static void __init hackkit_map_io(void) Ser1SDCR0 |= SDCR0_SUS; } -/** - * hackkit_uart_pm - powermgmt callback function for system 3 UART - * @port: uart port structure - * @state: pm state - * @oldstate: old pm state - * - */ -static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate) -{ - /* TODO: switch on/off uart in powersave mode */ -} - static struct mtd_partition hackkit_partitions[] = { { .name = "BLOB", |