1. 24 Jul, 2010 4 commits
    • Grant Likely's avatar
      of/platform: remove all of_bus_type and of_platform_bus_type references · 1ab1d63a
      Grant Likely authored
      Both of_bus_type and of_platform_bus_type are just #define aliases
      for the platform bus.  This patch removes all references to them and
      switches to the of_register_platform_driver()/of_unregister_platform_driver()
      API for registering.
      
      Subsequent patches will convert each user of of_register_platform_driver()
      into plain platform_drivers without the of_platform_driver shim.  At which
      point the of_register_platform_driver()/of_unregister_platform_driver()
      functions can be removed.
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
      1ab1d63a
    • Grant Likely's avatar
      of: Merge of_platform_bus_type with platform_bus_type · eca39301
      Grant Likely authored
      of_platform_bus was being used in the same manner as the platform_bus.
      The only difference being that of_platform_bus devices are generated
      from data in the device tree, and platform_bus devices are usually
      statically allocated in platform code.  Having them separate causes
      the problem of device drivers having to be registered twice if it
      was possible for the same device to appear on either bus.
      
      This patch removes of_platform_bus_type and registers all of_platform
      bus devices and drivers on the platform bus instead.  A previous patch
      made the of_device structure an alias for the platform_device structure,
      and a shim is used to adapt of_platform_drivers to the platform bus.
      
      After all of of_platform_bus drivers are converted to be normal platform
      drivers, the shim code can be removed.
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
      eca39301
    • Grant Likely's avatar
      drivercore/of: Add OF style matching to platform bus · 05212157
      Grant Likely authored
      As part of the merge between platform bus and of_platform bus, add the
      ability to do of-style matching to the platform bus.
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      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: linux-kernel@vger.kernel.org
      CC: microblaze-uclinux@itee.uq.edu.au
      CC: linuxppc-dev@ozlabs.org
      CC: devicetree-discuss@lists.ozlabs.org
      05212157
    • Grant Likely's avatar
      Merge commit 'v2.6.35-rc6' into devicetree/next · 4e4f62bf
      Grant Likely authored
      Conflicts:
      	arch/sparc/kernel/prom_64.c
      4e4f62bf
  2. 22 Jul, 2010 18 commits
  3. 21 Jul, 2010 14 commits
  4. 20 Jul, 2010 4 commits