1. 06 10月, 2012 1 次提交
    • G
      tty: serial: sccnxp: Fix bug with unterminated platform_id list · b70936d9
      Greg Kroah-Hartman 提交于
      The build even tells you that this is a bad thing:
      
      drivers/tty/serial/sccnxp: struct platform_device_id is 32 bytes.  The
      last of 8 is:
      0x73 0x63 0x36 0x38 0x36 0x39 0x32 0x00 0x00 0x00 0x00 0x00 0x00 0x00
      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x54 0x0c 0x01 0x00
      0x00 0x00 0x00 0x00
      FATAL: drivers/tty/serial/sccnxp: struct platform_device_id is not
      terminated with a NULL entry!
      
      So fix this problem up before someone oopses their box when loading the
      driver, as this breaks the build.
      
      Cc: Alexander Shiyan <shc_work@mail.ru>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b70936d9
  2. 27 9月, 2012 3 次提交
  3. 07 9月, 2012 1 次提交
  4. 06 9月, 2012 1 次提交
    • A
      serial: New serial driver SCCNXP · 1d65c0b1
      Alexander Shiyan 提交于
      This driver is a replacement for a SC26XX driver with a lot of
      improvements and new features.
      The main differences from the SC26XX driver:
      - Removed dependency on MIPS. Driver can be used on any platform.
      - Added support for SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
        SC28L202, SCC68681 and SCC68692 ICs.
      - Using devm_-related functions.
      - Improved error handling of serial port, improved FIFO handling.
      - Ability to load multiple instances of drivers.
      
      To avoid the possibility of regression, driver SC26XX left in the
      system to confirm the stability of the driver on platforms where
      it is being used.
      Signed-off-by: NAlexander Shiyan <shc_work@mail.ru>
      Acked-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1d65c0b1