Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25110
b: refs/heads/master
c: b2f51a1
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Dominik Brodowski committed Mar 31, 2006
1 parent cd13e61 commit 4946a32
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: 30bac7aa0e3678c79ff00fc9372f34712eeb34fc
refs/heads/master: b2f51a1cb4e1d72061d7a3f7905affdb7d074fec
2 changes: 1 addition & 1 deletion trunk/drivers/pcmcia/ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ static int pcmcia_device_remove(struct device * dev)
* all devices
*/
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 != 0) &&
(p_dev->device_no == 0))
pcmcia_card_remove(p_dev->socket, p_dev);
Expand Down

0 comments on commit 4946a32

Please sign in to comment.