1. 30 12月, 2010 5 次提交
  2. 24 12月, 2010 2 次提交
  3. 01 11月, 2010 1 次提交
  4. 22 10月, 2010 3 次提交
    • D
      of/mips: Cleanup some include directives/files. · 4c60071c
      David Daney 提交于
      The __init directives should go on the definitions of things, not the
      declaration, also __init is meaningless for inline functions, so
      remove it from prom.h.  This allows us to get rid of a useless
      #include, but most of the rest of them are useless too, so kill them
      as well.
      
      If of_i2c.c needs irq definitions, it should include linux/irq.h
      directly, not assume indirect inclusion via asm/prom.h.
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      4c60071c
    • G
      of/flattree: Eliminate need to provide early_init_dt_scan_chosen_arch · 32c97689
      Grant Likely 提交于
      This patch refactors the early init parsing of the chosen node so that
      architectures aren't forced to provide an empty implementation of
      early_init_dt_scan_chosen_arch.  Instead, if an architecture wants to
      do something different, it can either use a wrapper function around
      early_init_dt_scan_chosen(), or it can replace it altogether.
      
      This patch was written in preparation to adding device tree support to
      both x86 ad MIPS.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Tested-by: NDavid Daney <ddaney@caviumnetworks.com>
      32c97689
    • G
      of/device: Rework to use common platform_device_alloc() for allocating devices · 7096d042
      Grant Likely 提交于
      The current code allocates and manages platform_devices created from
      the device tree manually.  It also uses an unsafe shortcut for
      allocating the platform_device and the resource table at the same
      time. (which I added in the last rework; sorry).
      
      This patch refactors the code to use platform_device_alloc() for
      allocating new devices.  This reduces the amount of custom code
      implemented by of_platform, eliminates the unsafe alloc trick, and has
      the side benefit of letting the platform_bus code manage freeing the
      device data and resources when the device is freed.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Michal Simek <monstr@monstr.eu>
      7096d042
  5. 13 10月, 2010 5 次提交
  6. 11 10月, 2010 1 次提交
  7. 09 10月, 2010 1 次提交
  8. 06 8月, 2010 1 次提交
  9. 01 8月, 2010 1 次提交
    • G
      of/platform: Register of_platform_drivers with an "of:" prefix · 7fb8f881
      Grant Likely 提交于
      Currently there are some drivers in tree which register both a
      platform_driver and an of_platform_driver with the same name.  This is
      a temporary situation until all the relevant of_platform_drivers are
      converted to be normal platform_drivers.  Until then, this patch gives
      all the of_platform_drivers an "of:" prefix to protect against bogus
      matches and namespace conflicts.
      7fb8f881
  10. 30 7月, 2010 2 次提交
  11. 25 7月, 2010 3 次提交
  12. 24 7月, 2010 5 次提交
  13. 19 7月, 2010 2 次提交
  14. 15 7月, 2010 2 次提交
  15. 06 7月, 2010 6 次提交