Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25092
b: refs/heads/master
c: 552dc85
h: refs/heads/master
v: v3
  • Loading branch information
Dominik Brodowski committed Mar 31, 2006
1 parent c079eb7 commit b4fd22d
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: 159fe8a8358c7012d4f1fdacfcf69009ea15b52e
refs/heads/master: 552dc85dfed6b6a74a3a01c4ba277ee09797dd0a
4 changes: 2 additions & 2 deletions trunk/drivers/pcmcia/ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,8 @@ struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int f
p_dev->socket = s;
p_dev->device_no = (s->device_count++);
p_dev->func = function;
if (s->functions < function)
s->functions = function;
if (s->functions <= function)
s->functions = function + 1;

p_dev->dev.bus = &pcmcia_bus_type;
p_dev->dev.parent = s->dev.dev;
Expand Down

0 comments on commit b4fd22d

Please sign in to comment.