1. 24 7月, 2010 4 次提交
    • G
      of/platform: remove all of_bus_type and of_platform_bus_type references · 1ab1d63a
      Grant Likely 提交于
      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: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      1ab1d63a
    • G
      of: Merge of_platform_bus_type with platform_bus_type · eca39301
      Grant Likely 提交于
      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: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      eca39301
    • G
      drivercore/of: Add OF style matching to platform bus · 05212157
      Grant Likely 提交于
      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: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NGreg 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
    • G
      Merge commit 'v2.6.35-rc6' into devicetree/next · 4e4f62bf
      Grant Likely 提交于
      Conflicts:
      	arch/sparc/kernel/prom_64.c
      4e4f62bf
  2. 23 7月, 2010 7 次提交
  3. 22 7月, 2010 17 次提交
  4. 21 7月, 2010 12 次提交