summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-30 09:43:56 +0200
committerStephen Rothwell <sfr@canb.auug.org.au>2007-07-20 06:24:53 +0200
commit37b7754aab9a6ad7ecbba45c87f8d8a1f81b3bcc (patch)
tree8835a766b195fe2b25dce60ceff0f2713fe545fe /include/asm-sparc64
parentBegin consolidation of of_device.h (diff)
downloadlinux-37b7754aab9a6ad7ecbba45c87f8d8a1f81b3bcc.tar.xz
linux-37b7754aab9a6ad7ecbba45c87f8d8a1f81b3bcc.zip
[SPARC/64] Rename some functions like PowerPC
This is to make the of merge easier. Also rename of_bus_type. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r--include/asm-sparc64/of_device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sparc64/of_device.h b/include/asm-sparc64/of_device.h
index 68048cb20688..daf36eb52292 100644
--- a/include/asm-sparc64/of_device.h
+++ b/include/asm-sparc64/of_device.h
@@ -10,7 +10,8 @@
extern struct bus_type isa_bus_type;
extern struct bus_type ebus_bus_type;
extern struct bus_type sbus_bus_type;
-extern struct bus_type of_bus_type;
+extern struct bus_type of_platform_bus_type;
+#define of_bus_type of_platform_bus_type /* for compatibility */
/*
* The of_device is a kind of "base class" that is a superset of