Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354341
b: refs/heads/master
c: f65cc54
h: refs/heads/master
i:
  354339: 11be97d
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Feb 4, 2013
1 parent 323fdf7 commit f6b7d24
Show file tree
Hide file tree
Showing 4 changed files with 5 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: e9ab1c2f7eb6bc5d885429381e773bc1a61646ca
refs/heads/master: f65cc5447eaea9f7be1ff54e27c9658a66c5910f
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/comedi_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -2352,9 +2352,9 @@ int comedi_find_board_minor(struct device *hardware_device)
return -ENODEV;
}

int comedi_alloc_subdevice_minor(struct comedi_device *dev,
struct comedi_subdevice *s)
int comedi_alloc_subdevice_minor(struct comedi_subdevice *s)
{
struct comedi_device *dev = s->device;
struct comedi_file_info *info;
struct device *csdev;
unsigned i;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/staging/comedi/comedi_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ int do_rangeinfo_ioctl(struct comedi_device *dev,
int comedi_alloc_board_minor(struct device *hardware_device);
void comedi_free_board_minor(unsigned minor);
int comedi_find_board_minor(struct device *hardware_device);
int comedi_alloc_subdevice_minor(struct comedi_device *dev,
struct comedi_subdevice *s);
int comedi_alloc_subdevice_minor(struct comedi_subdevice *s);
void comedi_free_subdevice_minor(struct comedi_subdevice *s);

int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/comedi/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ static int __comedi_device_postconfig_async(struct comedi_device *dev,
return ret;
}

comedi_alloc_subdevice_minor(dev, s);
comedi_alloc_subdevice_minor(s);

return 0;
}
Expand Down

0 comments on commit f6b7d24

Please sign in to comment.