Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199861
b: refs/heads/master
c: b2e68b0
h: refs/heads/master
i:
  199859: a4e6041
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Jun 4, 2010
1 parent d2dd6e4 commit fd825a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 6d8b0f5be5108f6a3fc922ca4acfbf10e14d6cd0
refs/heads/master: b2e68b00d5d3698c228f549c02f4f79305d2b270
6 changes: 1 addition & 5 deletions trunk/drivers/staging/comedi/drivers/addi-data/addi_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -2574,10 +2574,6 @@ static int i_ADDI_Attach(struct comedi_device *dev, struct comedi_devconfig *it)
struct pcilst_struct *card = NULL;
unsigned char pci_bus, pci_slot, pci_func;
int i_Dma = 0;
static char c_Identifier[150];

sprintf(c_Identifier, "Addi-Data GmbH Comedi %s",
this_board->pc_DriverName);

ret = alloc_private(dev, sizeof(struct addi_private));
if (ret < 0)
Expand Down Expand Up @@ -2652,7 +2648,7 @@ static int i_ADDI_Attach(struct comedi_device *dev, struct comedi_devconfig *it)

if (irq > 0) {
if (request_irq(irq, v_ADDI_Interrupt, IRQF_SHARED,
c_Identifier, dev) < 0) {
this_board->pc_DriverName, dev) < 0) {
printk(", unable to allocate IRQ %u, DISABLING IT",
irq);
irq = 0; /* Can't use IRQ */
Expand Down

0 comments on commit fd825a1

Please sign in to comment.