summaryrefslogtreecommitdiffstats
path: root/drivers/of/Makefile
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-05-01 08:40:36 +0200
committerStephen Rothwell <sfr@canb.auug.org.au>2007-07-20 05:39:59 +0200
commitf85ff3056cefdf4635ebf98b30e9a7d86521567f (patch)
treef08bc591d6219b287261452a3f5dde58d6b5dd79 /drivers/of/Makefile
parentConsolidate of_find_node_by routines (diff)
downloadlinux-f85ff3056cefdf4635ebf98b30e9a7d86521567f.tar.xz
linux-f85ff3056cefdf4635ebf98b30e9a7d86521567f.zip
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>
Diffstat (limited to 'drivers/of/Makefile')
-rw-r--r--drivers/of/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/Makefile b/drivers/of/Makefile
index cddbe840e30a..c46d998e367b 100644
--- a/drivers/of/Makefile
+++ b/drivers/of/Makefile
@@ -1 +1,2 @@
obj-y = base.o
+obj-$(CONFIG_OF_DEVICE) += device.o