diff options
author | Jens Taprogge <jens.taprogge@taprogge.org> | 2012-09-11 11:35:13 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-11 19:18:12 (GMT) |
commit | 6f2c12ae422addc0f04cb6380fe2b18cfac97781 (patch) | |
tree | 1b21415b8474c75b5e588e89f2e85bdb2cd1c85c /drivers/staging/ipack/bridges/tpci200.h | |
parent | 4a589c54eeecfab774bbdb11ff2e658ef1a076bc (diff) | |
download | linux-fsl-qoriq-6f2c12ae422addc0f04cb6380fe2b18cfac97781.tar.xz |
Staging: ipack/bridges/tpci200: Store the irq holder in slot_irq.
This way we do no longer need to keep a dangling pointer to struct
ipack_device in tpci200_slot after the device has been removed.
Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ipack/bridges/tpci200.h')
-rw-r--r-- | drivers/staging/ipack/bridges/tpci200.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ipack/bridges/tpci200.h b/drivers/staging/ipack/bridges/tpci200.h index fc90a94..75a5dcc 100644 --- a/drivers/staging/ipack/bridges/tpci200.h +++ b/drivers/staging/ipack/bridges/tpci200.h @@ -121,6 +121,7 @@ struct tpci200_regs { * */ struct slot_irq { + struct ipack_device *holder; int vector; int (*handler)(void *); void *arg; @@ -136,7 +137,6 @@ struct slot_irq { * */ struct tpci200_slot { - struct ipack_device *dev; struct slot_irq *irq; struct ipack_addr_space io_phys; struct ipack_addr_space id_phys; |