Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364042
b: refs/heads/master
c: 45f9fcc
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 11, 2013
1 parent d631a8b commit 4048692
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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: fa7533b01c0aa20430e6c1d561bbc4dcef7bfe56
refs/heads/master: 45f9fcc2ffe8664d3f9a019f150dc11862ab34f4
11 changes: 3 additions & 8 deletions trunk/drivers/staging/comedi/drivers/rti802.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,11 @@ static int rti802_attach(struct comedi_device *dev, struct comedi_devconfig *it)
struct rti802_private *devpriv;
struct comedi_subdevice *s;
int i;
unsigned long iobase;
int ret;

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

devpriv = kzalloc(sizeof(*devpriv), GFP_KERNEL);
if (!devpriv)
Expand Down

0 comments on commit 4048692

Please sign in to comment.