1. 14 1月, 2011 1 次提交
    • G
      tty: move drivers/serial/ to drivers/tty/serial/ · ab4382d2
      Greg Kroah-Hartman 提交于
      The serial drivers are really just tty drivers, so move them to
      drivers/tty/ to make things a bit neater overall.
      
      This is part of the tty/serial driver movement proceedure as proposed by
      Arnd Bergmann and approved by everyone involved a number of months ago.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Rogier Wolff <R.E.Wolff@bitwizard.nl>
      Cc: Michael H. Warfield <mhw@wittsend.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ab4382d2
  2. 07 1月, 2011 1 次提交
  3. 05 1月, 2011 2 次提交
  4. 17 12月, 2010 1 次提交
    • T
      drivers: serial: apbuart: Handle OF failures gracefully · 35c64e5d
      Thomas Gleixner 提交于
      The apbuart driver depends on OF and relies on everything being
      available. So if it's probed on a platform which has OF support, but
      no device tree is available it crashes. Triggered by the upcoming x86
      OF support in randconfig testing.
      
      Further it's inconsistent vs. the probing and exiting from the
      of_match loop.
      
      Make it robust and consistent:
      
       - check the availablility of OF nodes before dereferencing
       - return -ENODEV when the device tree lookup fails
       - return -ENODEV when no uart port configuration is found
       - return -ENODEV when invalid uart port configuration is found
      
      Remove the enum_done check while at it. Driver init functions are only
      called once. Remove the pointless vendor and device queries as well.
      
      Reported-by: Ingo Molnar <mingo.elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Kristoffer Glembo <kristoffer@gaisler.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      35c64e5d
  5. 06 8月, 2010 1 次提交
  6. 22 5月, 2010 1 次提交
    • G
      of: Remove duplicate fields from of_platform_driver · 4018294b
      Grant Likely 提交于
      .name, .match_table and .owner are duplicated in both of_platform_driver
      and device_driver.  This patch is a removes the extra copies from struct
      of_platform_driver and converts all users to the device_driver members.
      
      This patch is a pretty mechanical change.  The usage model doesn't change
      and if any drivers have been missed, or if anything has been fixed up
      incorrectly, then it will fail with a compile time error, and the fixup
      will be trivial.  This patch looks big and scary because it touches so
      many files, but it should be pretty safe.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NSean MacLennan <smaclennan@pikatech.com>
      4018294b
  7. 19 5月, 2010 1 次提交
  8. 14 11月, 2009 1 次提交
  9. 06 11月, 2009 1 次提交
  10. 05 11月, 2009 3 次提交