mirror of https://gitee.com/openkylin/linux.git
Staging: ipack/bridges/tpci200: remove name field from slot_irq
This field is not needed at all, as the IRQ is registered for the carrier not for the mezzanine. Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e149ef80b0
commit
1fc75280f1
|
@ -750,7 +750,6 @@ static int tpci200_request_irq(struct ipack_device *dev, int vector,
|
|||
slot_irq->vector = vector;
|
||||
slot_irq->handler = handler;
|
||||
slot_irq->arg = arg;
|
||||
slot_irq->name = dev_name(&dev->dev);
|
||||
|
||||
tpci200->slots[dev->slot].irq = slot_irq;
|
||||
res = __tpci200_request_irq(tpci200, dev);
|
||||
|
|
|
@ -105,14 +105,12 @@
|
|||
* @vector Vector number
|
||||
* @handler Handler called when IRQ arrives
|
||||
* @arg Handler argument
|
||||
* @name IRQ name
|
||||
*
|
||||
*/
|
||||
struct slot_irq {
|
||||
int vector;
|
||||
int (*handler)(void *);
|
||||
void *arg;
|
||||
const char *name;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue