diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-10-11 00:48:24 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-11 06:40:44 -0400 |
commit | b707f517d2c72c6b340ba762ed8a7de2b22935e9 (patch) | |
tree | 1826a266e81c5cc871ff78712a73d1f3c7affed7 /arch | |
parent | 745e1027751acbc1f14f8bbef378b491242b9c83 (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 'arch')
-rw-r--r-- | arch/powerpc/kernel/vio.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c index 1d7b272b3737..fd631d4d1602 100644 --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c | |||
@@ -168,16 +168,6 @@ static int vio_bus_remove(struct device *dev) | |||
168 | return 1; | 168 | return 1; |
169 | } | 169 | } |
170 | 170 | ||
171 | /* convert from struct device to struct vio_dev and pass to driver. */ | ||
172 | static void vio_bus_shutdown(struct device *dev) | ||
173 | { | ||
174 | struct vio_dev *viodev = to_vio_dev(dev); | ||
175 | struct vio_driver *viodrv = to_vio_driver(dev->driver); | ||
176 | |||
177 | if (dev->driver && viodrv->shutdown) | ||
178 | viodrv->shutdown(viodev); | ||
179 | } | ||
180 | |||
181 | /** | 171 | /** |
182 | * vio_register_driver: - Register a new vio driver | 172 | * vio_register_driver: - Register a new vio driver |
183 | * @drv: The vio_driver structure to be registered. | 173 | * @drv: The vio_driver structure to be registered. |
@@ -397,7 +387,6 @@ static struct bus_type vio_bus_type = { | |||
397 | .match = vio_bus_match, | 387 | .match = vio_bus_match, |
398 | .probe = vio_bus_probe, | 388 | .probe = vio_bus_probe, |
399 | .remove = vio_bus_remove, | 389 | .remove = vio_bus_remove, |
400 | .shutdown = vio_bus_shutdown, | ||
401 | }; | 390 | }; |
402 | 391 | ||
403 | /** | 392 | /** |