aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/vio.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-10-11 00:48:24 -0400
committerPaul Mackerras <paulus@samba.org>2007-10-11 06:40:44 -0400
commitb707f517d2c72c6b340ba762ed8a7de2b22935e9 (patch)
tree1826a266e81c5cc871ff78712a73d1f3c7affed7 /include/asm-powerpc/vio.h
parent745e1027751acbc1f14f8bbef378b491242b9c83 (diff)
[POWERPC] Clean up vio.h
Remove vio_dma_ops declaration (since it no longer exists) and some unused fields from struct vio_driver. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/vio.h')
-rw-r--r--include/asm-powerpc/vio.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-powerpc/vio.h b/include/asm-powerpc/vio.h
index 598d111e8098..9204c15839c5 100644
--- a/include/asm-powerpc/vio.h
+++ b/include/asm-powerpc/vio.h
@@ -53,17 +53,12 @@ struct vio_dev {
53}; 53};
54 54
55struct vio_driver { 55struct vio_driver {
56 struct list_head node;
57 const struct vio_device_id *id_table; 56 const struct vio_device_id *id_table;
58 int (*probe)(struct vio_dev *dev, const struct vio_device_id *id); 57 int (*probe)(struct vio_dev *dev, const struct vio_device_id *id);
59 int (*remove)(struct vio_dev *dev); 58 int (*remove)(struct vio_dev *dev);
60 void (*shutdown)(struct vio_dev *dev);
61 unsigned long driver_data;
62 struct device_driver driver; 59 struct device_driver driver;
63}; 60};
64 61
65extern struct dma_mapping_ops vio_dma_ops;
66
67extern int vio_register_driver(struct vio_driver *drv); 62extern int vio_register_driver(struct vio_driver *drv);
68extern void vio_unregister_driver(struct vio_driver *drv); 63extern void vio_unregister_driver(struct vio_driver *drv);
69 64