kernel-fxtec-pro1x/arch/powerpc/sysdev
Grant Likely eca3930163 of: Merge of_platform_bus_type with platform_bus_type
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: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David S. Miller <davem@davemloft.net>
2010-07-24 09:57:51 -06:00
..
bestcomm of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
qe_lib of/gpio: add default of_xlate function if device has a node pointer 2010-07-05 16:14:30 -06:00
6xx-suspend.S
axonram.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
cpm1.c of/gpio: add default of_xlate function if device has a node pointer 2010-07-05 16:14:30 -06:00
cpm2.c powerpc/fsl-cpm: Configure clock correctly for SCC 2010-04-19 23:13:03 -05:00
cpm2_pic.c powerpc: Remove whitespace in irq chip name fields 2010-02-17 14:02:48 +11:00
cpm2_pic.h powerpc/cpm2: Checkpatch cleanup 2010-03-04 10:43:58 -06:00
cpm_common.c of/gpio: add default of_xlate function if device has a node pointer 2010-07-05 16:14:30 -06:00
dart.h
dart_iommu.c lmb: rename to memblock 2010-07-14 17:14:00 +10:00
dcr-low.S
dcr.c
fsl_gtm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fsl_lbc.c
fsl_msi.c of/powerpc: fix fsl_msi device node pointer 2010-06-02 22:26:42 -06:00
fsl_msi.h powerpc/fsl_msi: add removal path and probe failing path 2010-05-24 21:26:35 -05:00
fsl_pci.c lmb: rename to memblock 2010-07-14 17:14:00 +10:00
fsl_pci.h powerpc/fsl: Setup PCI inbound window based on actual amount of memory 2009-05-19 00:50:44 -05:00
fsl_pmc.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
fsl_rio.c of/powerpc: fix 85xx RapidIO device node pointer 2010-06-02 01:41:37 -06:00
fsl_soc.c powerpc/85xx: Kconfig cleanup 2009-11-20 16:45:27 -06:00
fsl_soc.h
grackle.c of: add 'of_' prefix to machine_is_compatible() 2010-02-09 08:33:00 -07:00
i8259.c powerpc: Convert i8259_lock to raw_spinlock 2010-02-19 14:52:31 +11:00
indirect_pci.c powerpc/pci: Clean up direct access to sysdata by indirect ops 2009-05-21 15:44:22 +10:00
ipic.c powerpc: Convert ipic_lock to raw_spinlock 2010-02-19 14:52:31 +11:00
ipic.h
Kconfig
Makefile powerpc/85xx/86xx: Add suspend/resume support 2009-11-11 21:43:28 -06:00
micropatch.c powerpc/cpm1: Mark micropatch code/data static and __init 2010-07-11 11:04:06 -05:00
mmio_nvram.c powerpc/nvram: Allow byte length reads from mmio NVRAM driver 2009-08-20 10:29:22 +10:00
mpc5xxx_clocks.c powerpc/5xxx: Add common mpc5xxx_get_bus_frequency() function 2009-06-17 00:30:22 -06:00
mpc8xx_pic.c powerpc: Remove whitespace in irq chip name fields 2010-02-17 14:02:48 +11:00
mpc8xx_pic.h
mpc8xxx_gpio.c of/gpio: add default of_xlate function if device has a node pointer 2010-07-05 16:14:30 -06:00
mpic.c powerpc: Fix mpic_resume on early G5 macs 2010-06-15 15:02:37 +10:00
mpic.h
mpic_msi.c powerpc: Fix MSI support on U4 bridge PCIe slot 2009-12-18 14:55:43 +11:00
mpic_pasemi_msi.c powerpc: Remove whitespace in irq chip name fields 2010-02-17 14:02:48 +11:00
mpic_u3msi.c powerpc: Fix MSI support on U4 bridge PCIe slot 2009-12-18 14:55:43 +11:00
msi_bitmap.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mv64x60.h
mv64x60_dev.c of: Merge of_platform_bus_type with platform_bus_type 2010-07-24 09:57:51 -06:00
mv64x60_pci.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
mv64x60_pic.c powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
mv64x60_udbg.c
of_rtc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pmi.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
ppc4xx_gpio.c of/gpio: add default of_xlate function if device has a node pointer 2010-07-05 16:14:30 -06:00
ppc4xx_pci.c powerpc/44x: Adding PCI-E support for PowerPC 460SX based SOC. 2010-05-07 15:07:19 -04:00
ppc4xx_pci.h powerpc/44x: Adding PCI-E support for PowerPC 460SX based SOC. 2010-05-07 15:07:19 -04:00
ppc4xx_soc.c powerpc/4xx: Add optional "reset_type" property to control reboot via dts 2010-05-05 12:51:54 -04:00
rtc_cmos_setup.c
simple_gpio.c of/gpio: add default of_xlate function if device has a node pointer 2010-07-05 16:14:30 -06:00
simple_gpio.h
tsi108_dev.c
tsi108_pci.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
uic.c powerpc: Remove whitespace in irq chip name fields 2010-02-17 14:02:48 +11:00
xilinx_intc.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
xilinx_pci.c powerpc/virtex: Add support for Xilinx PCI host bridge 2009-06-06 10:14:22 -06:00