powerpc: Add a shutdown member to vio_driver
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 24 Oct 2005 07:40:23 +0000 (17:40 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 24 Oct 2005 07:40:23 +0000 (17:40 +1000)
commit340601043df518d6f4f82da285c60c785ac8a716
tree251c935b5ab9a805fecd0ca1bf5870e101cac26e
parent915124d8114ec8c3825b10a39151bf9e851593bb
powerpc: Add a shutdown member to vio_driver

Add a shutdown member to struct vio_driver. We also need vio_bus_shutdown()
which converts from struct device to struct vio_dev and knows how to extract
the struct vio_driver.

Original patch adjusted for different location of vio.c.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/kernel/vio.c
include/asm-powerpc/vio.h