diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-09-28 13:41:56 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-05 17:41:14 -0500 |
commit | de75914ee103a30d82ad21b39b7e04f70e4fa1f0 (patch) | |
tree | 492f275d49d2e37449ba89594127ebca8502cb3f /include/pcmcia/ss.h | |
parent | 9da4bc6d6a38c1c3d850c046d0aee324c1a2e52a (diff) |
[PATCH] pcmcia: validate_mem shouldn't be void
Add a return value to pcmcia_validate_mem. Only if we have enough memory
available to map the CIS, we should proceed in trying to determine information
about the device.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia/ss.h')
-rw-r--r-- | include/pcmcia/ss.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h index 9f7dab8db984..2889a69a7a8f 100644 --- a/include/pcmcia/ss.h +++ b/include/pcmcia/ss.h | |||
@@ -125,7 +125,7 @@ struct pccard_operations { | |||
125 | }; | 125 | }; |
126 | 126 | ||
127 | struct pccard_resource_ops { | 127 | struct pccard_resource_ops { |
128 | void (*validate_mem) (struct pcmcia_socket *s); | 128 | int (*validate_mem) (struct pcmcia_socket *s); |
129 | int (*adjust_io_region) (struct resource *res, | 129 | int (*adjust_io_region) (struct resource *res, |
130 | unsigned long r_start, | 130 | unsigned long r_start, |
131 | unsigned long r_end, | 131 | unsigned long r_end, |