diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-07-12 03:45:27 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-08-28 20:53:32 -0400 |
commit | 6312236fe82bbd3b0e1dee60b3eb3b270a2f6aeb (patch) | |
tree | cf23f21d9d423e7999270cb4d7050697c72ea80b /include/asm-ppc64/vio.h | |
parent | 8c65b5c955b8598d9c63b4e97392377269873a54 (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/vio.h')
-rw-r--r-- | include/asm-ppc64/vio.h | 3 |
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) | |||
105 | return container_of(dev, struct vio_dev, dev); | 105 | return container_of(dev, struct vio_dev, dev); |
106 | } | 106 | } |
107 | 107 | ||
108 | extern int vio_bus_init(void); | 108 | extern int vio_bus_init(int (*is_match)(const struct vio_device_id *id, |
109 | const struct vio_dev *dev)); | ||
109 | 110 | ||
110 | #endif /* _ASM_VIO_H */ | 111 | #endif /* _ASM_VIO_H */ |