diff options
Diffstat (limited to 'include/pcmcia/ss.h')
-rw-r--r-- | include/pcmcia/ss.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h index e788bbc5657d..2889a69a7a8f 100644 --- a/include/pcmcia/ss.h +++ b/include/pcmcia/ss.h | |||
@@ -118,16 +118,14 @@ struct pcmcia_socket; | |||
118 | struct pccard_operations { | 118 | struct pccard_operations { |
119 | int (*init)(struct pcmcia_socket *sock); | 119 | int (*init)(struct pcmcia_socket *sock); |
120 | int (*suspend)(struct pcmcia_socket *sock); | 120 | int (*suspend)(struct pcmcia_socket *sock); |
121 | int (*register_callback)(struct pcmcia_socket *sock, void (*handler)(void *, unsigned int), void * info); | ||
122 | int (*get_status)(struct pcmcia_socket *sock, u_int *value); | 121 | int (*get_status)(struct pcmcia_socket *sock, u_int *value); |
123 | int (*get_socket)(struct pcmcia_socket *sock, socket_state_t *state); | ||
124 | int (*set_socket)(struct pcmcia_socket *sock, socket_state_t *state); | 122 | int (*set_socket)(struct pcmcia_socket *sock, socket_state_t *state); |
125 | int (*set_io_map)(struct pcmcia_socket *sock, struct pccard_io_map *io); | 123 | int (*set_io_map)(struct pcmcia_socket *sock, struct pccard_io_map *io); |
126 | int (*set_mem_map)(struct pcmcia_socket *sock, struct pccard_mem_map *mem); | 124 | int (*set_mem_map)(struct pcmcia_socket *sock, struct pccard_mem_map *mem); |
127 | }; | 125 | }; |
128 | 126 | ||
129 | struct pccard_resource_ops { | 127 | struct pccard_resource_ops { |
130 | void (*validate_mem) (struct pcmcia_socket *s); | 128 | int (*validate_mem) (struct pcmcia_socket *s); |
131 | int (*adjust_io_region) (struct resource *res, | 129 | int (*adjust_io_region) (struct resource *res, |
132 | unsigned long r_start, | 130 | unsigned long r_start, |
133 | unsigned long r_end, | 131 | unsigned long r_end, |