1
linux/arch/sparc/kernel
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
..
.gitignore
apc.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
asm-offsets.c
audit.c
auxio_32.c
auxio_64.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
btext.c
central.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
cherrs.S
chmc.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
compat_audit.c
cpu.c
cpumap.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
cpumap.h
devices.c
dma.c
ds.c
dtlb_miss.S
dtlb_prot.S
ebus.c
entry.h
entry.S
etrap_32.S
etrap_64.S
fpu_traps.S
ftrace.c sparc64: Add function graph tracer support. 2010-04-12 22:37:26 -07:00
getsetcc.S
head_32.S
head_64.S
helpers.S sparc64: Implement perf_arch_fetch_caller_regs 2010-04-03 23:50:59 -07:00
hvapi.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
hvcalls.S
hvtramp.S
idprom.c
init_task.c
iommu_common.h
iommu.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
ioport.c of: Always use 'struct device.of_node' to get device node pointer. 2010-05-18 16:10:44 -06:00
irq_32.c
irq_64.c sparc64: Run NMIs on the hardirq stack. 2010-04-14 02:04:29 -07:00
irq.h
itlb_miss.S
ivec.S
kernel.h
kgdb_32.c kgdb,sparc: Add in kgdb_arch_set_pc for sparc 2010-05-20 21:04:19 -05:00
kgdb_64.c kgdb,sparc: Add in kgdb_arch_set_pc for sparc 2010-05-20 21:04:19 -05:00
kprobes.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
kstack.h sparc64: Run NMIs on the hardirq stack. 2010-04-14 02:04:29 -07:00
ktlb.S
ldc.c
led.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
leon_kernel.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
leon_smp.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
Makefile sparc64: Add function graph tracer support. 2010-04-12 22:37:26 -07:00
mdesc.c lmb: rename to memblock 2010-07-14 17:14:00 +10:00
misctrap.S
module.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
muldiv.c
nmi.c sparc64: Run NMIs on the hardirq stack. 2010-04-14 02:04:29 -07:00
of_device_32.c of: Merge of_platform_bus_type with platform_bus_type 2010-07-24 09:57:51 -06:00
of_device_64.c of: Merge of_platform_bus_type with platform_bus_type 2010-07-24 09:57:51 -06:00
of_device_common.c of: Merge of_platform_bus_type with platform_bus_type 2010-07-24 09:57:51 -06:00
of_device_common.h
pci_common.c of: Always use 'struct device.of_node' to get device node pointer. 2010-05-18 16:10:44 -06:00
pci_fire.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
pci_impl.h
pci_msi.c of: Always use 'struct device.of_node' to get device node pointer. 2010-05-18 16:10:44 -06:00
pci_psycho.c sparc/of: Move of_device fields into struct pdev_archdata 2010-06-28 12:41:33 -07:00
pci_sabre.c sparc/of: Move of_device fields into struct pdev_archdata 2010-06-28 12:41:33 -07:00
pci_schizo.c sparc/of: Move of_device fields into struct pdev_archdata 2010-06-28 12:41:33 -07:00
pci_sun4v_asm.S
pci_sun4v.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
pci_sun4v.h
pci.c sparc/of: Move of_device fields into struct pdev_archdata 2010-06-28 12:41:33 -07:00
pcic.c
pcr.c sparc64: Add function graph tracer support. 2010-04-12 22:37:26 -07:00
perf_event.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-06-26 10:27:00 -07:00
pmc.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
power.c sparc/of: Move of_device fields into struct pdev_archdata 2010-06-28 12:41:33 -07:00
process_32.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
process_64.c sparc64: Show stack backtrace from show_regs() just like other platforms. 2010-04-21 02:31:50 -07:00
prom_32.c
prom_64.c Merge commit 'v2.6.35-rc6' into devicetree/next 2010-07-24 09:49:13 -06:00
prom_common.c of/sparc: move is_root_node() to of.h 2010-07-14 17:08:03 -06:00
prom_irqtrans.c
prom.h of/sparc: move is_root_node() to of.h 2010-07-14 17:08:03 -06:00
psycho_common.c of: Always use 'struct device.of_node' to get device node pointer. 2010-05-18 16:10:44 -06:00
psycho_common.h
ptrace_32.c sparc: Fix regset register window handling. 2010-03-31 18:05:05 -07:00
ptrace_64.c sparc: Fix regset register window handling. 2010-03-31 18:05:05 -07:00
reboot.c
rtrap_32.S
rtrap_64.S sparc64: Fix hardirq tracing in trap return path. 2010-04-20 00:48:37 -07:00
sbus.c of: Always use 'struct device.of_node' to get device node pointer. 2010-05-18 16:10:44 -06:00
setup_32.c
setup_64.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
signal32.c
signal_32.c
signal_64.c
smp_32.c
smp_64.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-04-13 00:28:45 -07:00
sparc_ksyms_32.c
sparc_ksyms_64.c
spiterrs.S
sstate.c
stacktrace.c sparc64: Fix stack dumping and tracing when function graph is enabled. 2010-04-21 03:08:11 -07:00
starfire.c
sun4c_irq.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
sun4d_irq.c arch/sparc/kernel: Eliminate what looks like a NULL pointer dereference 2010-06-04 16:17:37 -07:00
sun4d_smp.c
sun4m_irq.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
sun4m_smp.c
sun4v_ivec.S
sun4v_tlb_miss.S
sys32.S
sys_sparc32.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
sys_sparc_32.c
sys_sparc_64.c
syscalls.S
sysfs.c
systbls_32.S
systbls_64.S
systbls.h
tadpole.c
tick14.c
time_32.c Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
time_64.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
trampoline_32.S
trampoline_64.S
traps_32.c
traps_64.c sparc64: Fix stack dumping and tracing when function graph is enabled. 2010-04-21 03:08:11 -07:00
tsb.S
ttable.S sparc64: fix the build error due to smp_kgdb_capture_client() 2010-06-25 11:17:57 -07:00
una_asm_32.S
una_asm_64.S
unaligned_32.c
unaligned_64.c sparc64: Use correct pt_regs in decode_access_size() error paths. 2010-04-19 13:46:48 -07:00
us2e_cpufreq.c
us3_cpufreq.c
utrap.S
vio.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
viohs.c
visemul.c
vmlinux.lds.S sparc64: Support kmemleak. 2010-04-12 23:46:17 -07:00
windows.c
winfixup.S
wof.S
wuf.S