summaryrefslogtreecommitdiff
path: root/include/asm-ppc64
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-07-12 17:45:27 +1000
committerPaul Mackerras <paulus@samba.org>2005-08-29 10:53:32 +1000
commit6312236fe82bbd3b0e1dee60b3eb3b270a2f6aeb (patch)
treecf23f21d9d423e7999270cb4d7050697c72ea80b /include/asm-ppc64
parent8c65b5c955b8598d9c63b4e97392377269873a54 (diff)
[PATCH] ppc64: make the bus matching function platform specific
This patch allows us to have a different bus if matching function for each platform. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r--include/asm-ppc64/vio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-ppc64/vio.h b/include/asm-ppc64/vio.h
index 1e6d4c4b83a0..70644a232210 100644
--- a/include/asm-ppc64/vio.h
+++ b/include/asm-ppc64/vio.h
@@ -105,6 +105,7 @@ static inline struct vio_dev *to_vio_dev(struct device *dev)
return container_of(dev, struct vio_dev, dev);
}
-extern int vio_bus_init(void);
+extern int vio_bus_init(int (*is_match)(const struct vio_device_id *id,
+ const struct vio_dev *dev));
#endif /* _ASM_VIO_H */