Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16252
b: refs/heads/master
c: 2cff944
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Dominik Brodowski committed Jan 5, 2006
1 parent 78bb10c commit d6c849d
Show file tree
Hide file tree
Showing 2 changed files with 7 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: de75914ee103a30d82ad21b39b7e04f70e4fa1f0
refs/heads/master: 2cff944720332535a24b7eae16cff32055a43048
8 changes: 6 additions & 2 deletions trunk/drivers/pcmcia/rsrc_nonstatic.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,15 +467,19 @@ static int validate_mem(struct pcmcia_socket *s, unsigned int probe_mask)

#else /* CONFIG_PCMCIA_PROBE */

static void validate_mem(struct pcmcia_socket *s, unsigned int probe_mask)
static int validate_mem(struct pcmcia_socket *s, unsigned int probe_mask)
{
struct resource_map *m, mm;
struct socket_data *s_data = s->resource_data;
unsigned long ok = 0;

for (m = s_data->mem_db.next; m != &s_data->mem_db; m = mm.next) {
mm = *m;
do_mem_probe(mm.base, mm.num, s);
ok += do_mem_probe(mm.base, mm.num, s);
}
if (ok > 0)
return 0;
return -ENODEV;
}

#endif /* CONFIG_PCMCIA_PROBE */
Expand Down

0 comments on commit d6c849d

Please sign in to comment.