Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354111
b: refs/heads/master
c: 24d8e51
h: refs/heads/master
i:
  354109: 7b6d24d
  354107: 5d7bb10
  354103: 700dabc
  354095: 11f577b
  354079: 5966add
  354047: da6a08e
v: v3
  • Loading branch information
Peter Huewe authored and Greg Kroah-Hartman committed Jan 21, 2013
1 parent 751c6a8 commit 6ebbaea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 35be8425384df44a819413ed238287586219d579
refs/heads/master: 24d8e51ef3671f7dff0aaee0f3cf4c55d33c7292
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 @@ -58,7 +58,7 @@ MODULE_PARM_DESC(comedi_debug,
);
#endif

bool comedi_autoconfig = 1;
bool comedi_autoconfig = true;
module_param(comedi_autoconfig, bool, S_IRUGO);
MODULE_PARM_DESC(comedi_autoconfig,
"enable drivers to auto-configure comedi devices (default 1)");
Expand Down Expand Up @@ -2437,7 +2437,7 @@ static int __init comedi_init(void)
* comedi_num_legacy_minors are zero, so we might as well adjust the
* defaults in that case
*/
if (comedi_autoconfig == 0 && comedi_num_legacy_minors == 0)
if (!comedi_autoconfig && comedi_num_legacy_minors == 0)
comedi_num_legacy_minors = 16;

memset(comedi_file_info_table, 0,
Expand Down

0 comments on commit 6ebbaea

Please sign in to comment.