Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364022
b: refs/heads/master
c: 531f4fd
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent a67873d commit cb84567
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 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: 814c219a3eeb7d97046544f02b402a82917d024c
refs/heads/master: 531f4fd1fbd169b6a22efe829663e8a278b88766
13 changes: 3 additions & 10 deletions trunk/drivers/staging/comedi/drivers/pcl711.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,19 +451,12 @@ static int pcl711_attach(struct comedi_device *dev, struct comedi_devconfig *it)
const struct pcl711_board *board = comedi_board(dev);
struct pcl711_private *devpriv;
int ret;
unsigned long iobase;
unsigned int irq;
struct comedi_subdevice *s;

/* claim our I/O space */

iobase = it->options[0];
printk(KERN_INFO "comedi%d: pcl711: 0x%04lx ", dev->minor, iobase);
if (!request_region(iobase, PCL711_SIZE, dev->board_name)) {
printk("I/O port conflict\n");
return -EIO;
}
dev->iobase = iobase;
ret = comedi_request_region(dev, it->options[0], PCL711_SIZE);
if (ret)
return ret;

/* grab our IRQ */
irq = it->options[1];
Expand Down

0 comments on commit cb84567

Please sign in to comment.