diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-10 14:48:59 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-03-31 10:01:58 -0500 |
commit | 855cdf134dfcf2ecb92ac4ad675cf655d8ceb678 (patch) | |
tree | 167a028b44e1bc043b544357d958a6a20529968b /drivers/pcmcia/cs_internal.h | |
parent | dbb22f0d65ccc2e9dfeb4c420942f2757a80f8d2 (diff) |
[PATCH] pcmcia: always use device pointer to config_t
Update the remaining users using the static lookup table of the PCMCIA
function configuration to use the struct pcmcia_device-contained pointer.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r-- | drivers/pcmcia/cs_internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h index f889a44280f5..88c96aee0f45 100644 --- a/drivers/pcmcia/cs_internal.h +++ b/drivers/pcmcia/cs_internal.h | |||
@@ -126,10 +126,9 @@ extern struct class_interface pccard_sysfs_interface; | |||
126 | extern struct rw_semaphore pcmcia_socket_list_rwsem; | 126 | extern struct rw_semaphore pcmcia_socket_list_rwsem; |
127 | extern struct list_head pcmcia_socket_list; | 127 | extern struct list_head pcmcia_socket_list; |
128 | int pcmcia_get_window(struct pcmcia_socket *s, window_handle_t *handle, int idx, win_req_t *req); | 128 | int pcmcia_get_window(struct pcmcia_socket *s, window_handle_t *handle, int idx, win_req_t *req); |
129 | int pccard_get_configuration_info(struct pcmcia_socket *s, unsigned int function, config_info_t *config); | 129 | int pccard_get_configuration_info(struct pcmcia_socket *s, struct pcmcia_device *p_dev, config_info_t *config); |
130 | int pccard_reset_card(struct pcmcia_socket *skt); | 130 | int pccard_reset_card(struct pcmcia_socket *skt); |
131 | int pccard_get_status(struct pcmcia_socket *s, unsigned int function, cs_status_t *status); | 131 | int pccard_get_status(struct pcmcia_socket *s, struct pcmcia_device *p_dev, cs_status_t *status); |
132 | int pccard_access_configuration_register(struct pcmcia_socket *s, unsigned int function, conf_reg_t *reg); | ||
133 | 132 | ||
134 | 133 | ||
135 | struct pcmcia_callback{ | 134 | struct pcmcia_callback{ |