[PATCH 0/3] serial: make serial_uart_config non-global

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I happened to notice that serial_uart_config was largely a relic
of the past and only used by two drivers (one of which was just
a trivial use case) so it seemed to make sense to reduce its scope
by removing the trivial use case and giving exclusive ownership
of the struct to the one real remaining user (sparc's sunsu.c).

Build tested on sparc64 defconfig and m32r defconfig.

Paul.
---

Cc: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>

Paul Gortmaker (3):
  m32r_sio: remove dependency on struct serial_uart_config
  serial: sunsu.c - don't explicitly tie array size to dynamic entity
  serial: diminish usage of struct serial_uart_config

 drivers/staging/speakup/serialio.h |  3 +--
 drivers/tty/serial/8250/8250.h     |  3 ---
 drivers/tty/serial/m32r_sio.c      | 36 ++----------------------------------
 drivers/tty/serial/sunsu.c         |  8 +++++++-
 include/linux/serial.h             |  6 ------
 5 files changed, 10 insertions(+), 46 deletions(-)

-- 
1.7.11.1

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux