diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-07-22 21:55:32 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-07-26 02:12:17 -0400 |
commit | 56a4c6e31a25a218c066d8da27558a86310bbfd7 (patch) | |
tree | af89192fcaf06c6c455ef10a5eb49a64a1788755 | |
parent | f2d32db3443157e8f50c7c86b8ff1477c27d6e3e (diff) |
[POWERPC] iSeries: We need vio_enable_interrupts
Commit 3d0e91f7ace12499c4b00088e9a6b1361e1bb0ca introduced a requirement
for vio_enable_interrupts which iSeires has never needed. So create a
dummy one.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | include/asm-powerpc/vio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-powerpc/vio.h b/include/asm-powerpc/vio.h index 0117b544ecbc..3a0975e2adad 100644 --- a/include/asm-powerpc/vio.h +++ b/include/asm-powerpc/vio.h | |||
@@ -80,6 +80,11 @@ extern const void *vio_get_attribute(struct vio_dev *vdev, char *which, | |||
80 | extern struct vio_dev *vio_find_node(struct device_node *vnode); | 80 | extern struct vio_dev *vio_find_node(struct device_node *vnode); |
81 | extern int vio_enable_interrupts(struct vio_dev *dev); | 81 | extern int vio_enable_interrupts(struct vio_dev *dev); |
82 | extern int vio_disable_interrupts(struct vio_dev *dev); | 82 | extern int vio_disable_interrupts(struct vio_dev *dev); |
83 | #else | ||
84 | static inline int vio_enable_interrupts(struct vio_dev *dev) | ||
85 | { | ||
86 | return 0; | ||
87 | } | ||
83 | #endif | 88 | #endif |
84 | 89 | ||
85 | static inline struct vio_driver *to_vio_driver(struct device_driver *drv) | 90 | static inline struct vio_driver *to_vio_driver(struct device_driver *drv) |