提交 56a4c6e3 编写于 作者: S Stephen Rothwell 提交者: Paul Mackerras

[POWERPC] iSeries: We need vio_enable_interrupts

Commit 3d0e91f7 introduced a requirement
for vio_enable_interrupts which iSeires has never needed.  So create a
dummy one.
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 f2d32db3
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册