Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325284
b: refs/heads/master
c: 38b951f
h: refs/heads/master
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Sep 17, 2012
1 parent 61c6838 commit 1744a88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: ca33f4ce35648c2301f398052d0081ebc8e5d7cd
refs/heads/master: 38b951f18e3535c62bc288aeefa14a790efa8072
8 changes: 5 additions & 3 deletions trunk/drivers/staging/comedi/drivers/ni_6527.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ Updated: Sat, 25 Jan 2003 13:24:40 -0800

#include "mite.h"

#define DRIVER_NAME "ni_6527"

#define NI6527_DIO_SIZE 4096
#define NI6527_MITE_SIZE 4096

Expand Down Expand Up @@ -80,7 +82,7 @@ static int ni6527_attach(struct comedi_device *dev,
struct comedi_devconfig *it);
static void ni6527_detach(struct comedi_device *dev);
static struct comedi_driver driver_ni6527 = {
.driver_name = "ni6527",
.driver_name = DRIVER_NAME,
.module = THIS_MODULE,
.attach = ni6527_attach,
.detach = ni6527_detach,
Expand Down Expand Up @@ -430,7 +432,7 @@ static int ni6527_attach(struct comedi_device *dev, struct comedi_devconfig *it)
writeb(0x00, devpriv->mite->daq_io_addr + Master_Interrupt_Control);

ret = request_irq(mite_irq(devpriv->mite), ni6527_interrupt,
IRQF_SHARED, "ni6527", dev);
IRQF_SHARED, DRIVER_NAME, dev);
if (ret < 0)
dev_warn(dev->class_dev, "irq not available\n");
else
Expand Down Expand Up @@ -471,7 +473,7 @@ static int ni6527_find_device(struct comedi_device *dev, int bus, int slot)
}
}
}
dev_err(dev->class_dev, "ni6527: no device found\n");
dev_err(dev->class_dev, DRIVER_NAME ": no device found\n");
mite_list_devices();
return -EIO;
}
Expand Down

0 comments on commit 1744a88

Please sign in to comment.