summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/device.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-06-29 19:15:54 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-07-24 17:57:52 +0200
commit295960429675e17ec658320ebb24385727032bed (patch)
treea4631bf0a2c209e964e261a471d9584b8db28197 /arch/sparc/include/asm/device.h
parentof: remove asm/of_platform.h (diff)
downloadlinux-295960429675e17ec658320ebb24385727032bed.tar.xz
linux-295960429675e17ec658320ebb24385727032bed.zip
of: remove asm/of_device.h
It is mostly unused now. Sparc has a few defines left in it, but they can be moved to other headers. Removing this header means that new architectures adding CONFIG_OF support don't need to also add this header file. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/device.h')
-rw-r--r--arch/sparc/include/asm/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/device.h b/arch/sparc/include/asm/device.h
index fb220e482039..daa6a8a5e9cd 100644
--- a/arch/sparc/include/asm/device.h
+++ b/arch/sparc/include/asm/device.h
@@ -19,6 +19,8 @@ struct dev_archdata {
int numa_node;
};
+extern void of_propagate_archdata(struct platform_device *bus);
+
struct pdev_archdata {
struct resource resource[PROMREG_MAX];
unsigned int irqs[PROMINTR_MAX];