diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-03 04:27:34 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-28 12:03:10 -0500 |
commit | dd2e5a156525f11754d9b1e0583f6bb49c253d62 (patch) | |
tree | f64b680eec9c4ca7da4fe635031a94a3bbf5ebee /drivers/serial | |
parent | 6838b03fc6564ea07d0cd87ea6e198d90ab1fc3e (diff) |
pcmcia: remove deprecated handle_to_dev() macro
Update remaining users and remove deprecated handle_to_dev() macro
CC: Harald Welte <laforge@gnumonks.org>
CC: netdev@vger.kernel.org
CC: linux-wireless@vger.kernel.org
CC: linux-serial@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/serial_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_cs.c b/drivers/serial/serial_cs.c index 3b31bee85761..8d651a618455 100644 --- a/drivers/serial/serial_cs.c +++ b/drivers/serial/serial_cs.c | |||
@@ -387,7 +387,7 @@ static int setup_serial(struct pcmcia_device *handle, struct serial_info * info, | |||
387 | port.irq = irq; | 387 | port.irq = irq; |
388 | port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_SHARE_IRQ; | 388 | port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_SHARE_IRQ; |
389 | port.uartclk = 1843200; | 389 | port.uartclk = 1843200; |
390 | port.dev = &handle_to_dev(handle); | 390 | port.dev = &handle->dev; |
391 | if (buggy_uart) | 391 | if (buggy_uart) |
392 | port.flags |= UPF_BUGGY_UART; | 392 | port.flags |= UPF_BUGGY_UART; |
393 | 393 | ||