Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20965
b: refs/heads/master
c: 4ceadbf
h: refs/heads/master
i:
  20963: 17dde04
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Mar 10, 2006
1 parent 1298f4b commit 481d164
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 8fce4d8e3b9e3cf47cc8afeb6077e22ab795d989
refs/heads/master: 4ceadbf519c6820b236a9a213255260eb825974b
2 changes: 1 addition & 1 deletion trunk/drivers/pcmcia/ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ static int pcmcia_device_probe(struct device * dev)
* pseudo devices, and if not, add the second one.
*/
did = (struct pcmcia_device_id *) p_dev->dev.driver_data;
if ((did->match_flags & PCMCIA_DEV_ID_MATCH_DEVICE_NO) &&
if (did && (did->match_flags & PCMCIA_DEV_ID_MATCH_DEVICE_NO) &&
(p_dev->socket->device_count == 1) && (p_dev->device_no == 0))
pcmcia_add_pseudo_device(p_dev->socket);

Expand Down

0 comments on commit 481d164

Please sign in to comment.