aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.de>2005-01-11 03:19:40 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-11 03:19:40 -0800
commit26432027dec4d2c887a742a619331e6b82de34f3 (patch)
tree1e34eb7e47e3fb01b8f68e0614c4e4a9515c16a1 /include
parent32363bfb234d9514f6f278eb84e53401de7734f8 (diff)
downloadhistory-26432027dec4d2c887a742a619331e6b82de34f3.tar.gz
[PATCH] pcmcia: unfiy bind_device and pcmcia_bind_device
Unify bind_device and pcmcia_bind_device. Also, change bind_device so that it conforms to CodingStyle. Signed-off-by: Dominik Brodowski <linux@brodo.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/pcmcia/cs.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h
index 6c518d10d8d5cb..4a82490a1e45bd 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -315,13 +315,6 @@ typedef struct error_info_t {
int retcode;
} error_info_t;
-/* Special stuff for binding drivers to sockets */
-typedef struct bind_req_t {
- struct pcmcia_socket *Socket;
- u_char Function;
- dev_info_t *dev_info;
-} bind_req_t;
-
/* Flag to bind to all functions */
#define BIND_FN_ALL 0xff
@@ -413,6 +406,8 @@ enum service {
GetFirstWindow, GetNextWindow, GetMemPage
};
+struct pcmcia_socket;
+
int pcmcia_access_configuration_register(client_handle_t handle, conf_reg_t *reg);
int pcmcia_deregister_client(client_handle_t handle);
int pcmcia_get_configuration_info(client_handle_t handle, config_info_t *config);