Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324962
b: refs/heads/master
c: 109daa7
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 8, 2012
1 parent 7c7a3fb commit 986b76d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e1d7ccb770b9b231c177bb7477a89cea9682d61a
refs/heads/master: 109daa79807a47dc56d7533a7fdcd0dc72c862b2
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/me4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ static int init_board_info(struct comedi_device *dev, struct pci_dev *pci_dev_p)
/* spin_lock_init(&info->ai_ctrl_lock); */

/* Get the irq assigned to the board */
info->irq = pci_dev_p->irq;
dev->irq = pci_dev_p->irq;

return 0;
}
Expand Down Expand Up @@ -1266,7 +1266,7 @@ static irqreturn_t me4000_ai_isr(int irq, void *dev_id)
s->async->events = 0;

/* Check if irq number is right */
if (irq != info->irq) {
if (irq != dev->irq) {
printk(KERN_ERR
"comedi%d: me4000: me4000_ai_isr(): "
"Incorrect interrupt num: %d\n", dev->minor, irq);
Expand Down Expand Up @@ -1876,8 +1876,8 @@ static int me4000_attach(struct comedi_device *dev, struct comedi_devconfig *it)
s->range_table = &me4000_ai_range;
s->insn_read = me4000_ai_insn_read;

if (info->irq > 0) {
if (request_irq(info->irq, me4000_ai_isr,
if (dev->irq > 0) {
if (request_irq(dev->irq, me4000_ai_isr,
IRQF_SHARED, "ME-4000", dev)) {
printk
("comedi%d: me4000: me4000_attach(): "
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/comedi/drivers/me4000.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,6 @@ struct me4000_info {

struct pci_dev *pci_dev_p; /* General PCI information */

unsigned int irq; /* IRQ assigned from the PCI BIOS */

unsigned int ao_readback[4];
};

Expand Down

0 comments on commit 986b76d

Please sign in to comment.