]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Begin to consolidate of_device.c
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 May 2007 06:40:36 +0000 (16:40 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 20 Jul 2007 03:39:59 +0000 (13:39 +1000)
commitf85ff3056cefdf4635ebf98b30e9a7d86521567f
treef08bc591d6219b287261452a3f5dde58d6b5dd79
parent1ef4d4242d9c494c49ae1ae66dc938fce0272816
Begin to consolidate of_device.c

This moves all the common parts for the Sparc, Sparc64 and PowerPC
of_device.c files into drivers/of/device.c.

Apart from the simple move, Sparc gains of_match_node() and a call to
of_node_put in of_release_dev().  PowerPC gains better recovery if
device_create_file() fails in of_device_register().

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Paul Mackerras <paulus@samba.org>
Acked-by: David S. Miller <davem@davemloft.net>
arch/powerpc/kernel/of_device.c
arch/sparc/kernel/of_device.c
arch/sparc64/kernel/of_device.c
drivers/Kconfig
drivers/of/Kconfig [new file with mode: 0644]
drivers/of/Makefile
drivers/of/device.c [new file with mode: 0644]