1. 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
  2. 30 7月, 2010 1 次提交
  3. 24 7月, 2010 5 次提交
  4. 19 7月, 2010 2 次提交
  5. 15 7月, 2010 1 次提交
    • G
      drivers/of: fix build error when CONFIG_PPC_DCR is set · 596c955c
      Grant Likely 提交于
      Commit 94c09319 (of:
      Merge of_device_alloc() and of_device_make_bus_id()) moved code that
      does calls a dcr routine without including the correct header which
      causes the following build error on some powerpc configurations:
      
      drivers/of/platform.c: In function 'of_device_make_bus_id':
      drivers/of/platform.c:437: error: implicit declaration of function 'of_translate_dcr_address'
      
      This patch adds the appropriate header to drivers/of/platform.c
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      596c955c
  6. 06 7月, 2010 4 次提交
    • G
      of: Fix missing include · 50ef5284
      Grant Likely 提交于
      Fix a build failure on ARM
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      50ef5284
    • G
      of/device: populate platform_device (of_device) resource table on allocation · ac80a51e
      Grant Likely 提交于
      When allocating a platform_device to represent an OF node, also allocate
      space for the resource table and populate it with IRQ and reg property
      information.  This change is in preparation for merging the
      of_platform_bus_type with the platform_bus_type so that existing
      platform_driver code can retrieve base addresses and IRQs data.
      
      Background: a previous commit removed struct of_device and made it a
      #define alias for platform_device.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      CC: Michal Simek <monstr@monstr.eu>
      CC: Grant Likely <grant.likely@secretlab.ca>
      CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      CC: Stephen Rothwell <sfr@canb.auug.org.au>
      CC: microblaze-uclinux@itee.uq.edu.au
      CC: linuxppc-dev@ozlabs.org
      CC: devicetree-discuss@lists.ozlabs.org
      ac80a51e
    • G
      of: Merge of_device_alloc() and of_device_make_bus_id() · 94c09319
      Grant Likely 提交于
      This patch merges the common routines of_device_alloc() and
      of_device_make_bus_id() from powerpc and microblaze.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      CC: Michal Simek <monstr@monstr.eu>
      CC: Grant Likely <grant.likely@secretlab.ca>
      CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      CC: Stephen Rothwell <sfr@canb.auug.org.au>
      CC: microblaze-uclinux@itee.uq.edu.au
      CC: linuxppc-dev@ozlabs.org
      CC: devicetree-discuss@lists.ozlabs.org
      94c09319
    • G
      of/device: Merge of_platform_bus_probe() · 5fd200f3
      Grant Likely 提交于
      Merge common code between PowerPC and microblaze.  This patch merges
      the code that scans the tree and registers devices.  The functions
      merged are of_platform_bus_probe(), of_platform_bus_create(), and
      of_platform_device_create().
      
      This patch also move the of_default_bus_ids[] table out of a Microblaze
      header file and makes it non-static.  The device ids table isn't merged
      because powerpc and microblaze use different default data.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      CC: Michal Simek <monstr@monstr.eu>
      CC: Grant Likely <grant.likely@secretlab.ca>
      CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      CC: Stephen Rothwell <sfr@canb.auug.org.au>
      CC: microblaze-uclinux@itee.uq.edu.au
      CC: linuxppc-dev@ozlabs.org
      5fd200f3
  7. 22 5月, 2010 3 次提交
  8. 30 10月, 2009 1 次提交
  9. 14 5月, 2008 1 次提交
  10. 06 2月, 2008 1 次提交
  11. 18 10月, 2007 1 次提交
  12. 20 7月, 2007 1 次提交