diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-24 17:40:23 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-24 17:40:23 +1000 |
commit | 340601043df518d6f4f82da285c60c785ac8a716 (patch) | |
tree | 251c935b5ab9a805fecd0ca1bf5870e101cac26e /include/asm-powerpc/vio.h | |
parent | 915124d8114ec8c3825b10a39151bf9e851593bb (diff) | |
download | kernel_samsung_smdk4412-340601043df518d6f4f82da285c60c785ac8a716.zip kernel_samsung_smdk4412-340601043df518d6f4f82da285c60c785ac8a716.tar.gz kernel_samsung_smdk4412-340601043df518d6f4f82da285c60c785ac8a716.tar.bz2 |
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>
Diffstat (limited to 'include/asm-powerpc/vio.h')
-rw-r--r-- | include/asm-powerpc/vio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/vio.h b/include/asm-powerpc/vio.h index 104c585..e0ccf10 100644 --- a/include/asm-powerpc/vio.h +++ b/include/asm-powerpc/vio.h @@ -58,6 +58,7 @@ struct vio_driver { const struct vio_device_id *id_table; int (*probe)(struct vio_dev *dev, const struct vio_device_id *id); int (*remove)(struct vio_dev *dev); + void (*shutdown)(struct vio_dev *dev); unsigned long driver_data; struct device_driver driver; }; |