summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-10-17 21:17:42 -0700
committerDavid S. Miller <davem@davemloft.net>2007-10-17 21:17:42 -0700
commit5c45708352a040f19caceb683c78bc86aad466f6 (patch)
tree6541789a623c189c1e91ffd91bd972cad938d130 /include/asm-sparc64
parent7b96dc023a1b487bce59256fde14b8bb28b45aea (diff)
downloadop-kernel-dev-5c45708352a040f19caceb683c78bc86aad466f6.zip
op-kernel-dev-5c45708352a040f19caceb683c78bc86aad466f6.tar.gz
[SPARC/64]: Consolidate of_register_driver
Also of_unregister_driver. These will be shortly also used by the PowerPC code. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r--include/asm-sparc64/of_platform.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-sparc64/of_platform.h b/include/asm-sparc64/of_platform.h
index f7c1f17..f15cfa7 100644
--- a/include/asm-sparc64/of_platform.h
+++ b/include/asm-sparc64/of_platform.h
@@ -19,12 +19,9 @@
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_platform_bus_type;
+
#define of_bus_type of_platform_bus_type /* for compatibility */
-extern int of_register_driver(struct of_platform_driver *drv,
- struct bus_type *bus);
-extern void of_unregister_driver(struct of_platform_driver *drv);
extern struct of_device *of_platform_device_create(struct device_node *np,
const char *bus_id,
struct device *parent,
OpenPOWER on IntegriCloud