Skip to content

Commit

Permalink
[POWERPC] iSeries: We need vio_enable_interrupts
Browse files Browse the repository at this point in the history
Commit 3d0e91f 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>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Jul 26, 2007
1 parent f2d32db commit 56a4c6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/asm-powerpc/vio.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ extern const void *vio_get_attribute(struct vio_dev *vdev, char *which,
extern struct vio_dev *vio_find_node(struct device_node *vnode);
extern int vio_enable_interrupts(struct vio_dev *dev);
extern int vio_disable_interrupts(struct vio_dev *dev);
#else
static inline int vio_enable_interrupts(struct vio_dev *dev)
{
return 0;
}
#endif

static inline struct vio_driver *to_vio_driver(struct device_driver *drv)
Expand Down

0 comments on commit 56a4c6e

Please sign in to comment.