aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2006-01-10 14:41:27 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2006-03-31 10:01:43 -0500
commitdbb22f0d65ccc2e9dfeb4c420942f2757a80f8d2 (patch)
tree242382a959af9e8ac93afbc187fc74db9494d7c9 /include/pcmcia
parent1ae9c7d8198ae973da3b927e28d63f294ffa11e3 (diff)
[PATCH] pcmcia: access config_t using pointer instead of array
Access the PCMCIA config_t struct (one per device function) using a pointer in struct pcmcia_device, instead of looking them up in an array. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r--include/pcmcia/ds.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index 8e2a96396478..ac11fb1e8d69 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -131,6 +131,7 @@ typedef struct dev_link_t {
131 131
132 132
133struct pcmcia_socket; 133struct pcmcia_socket;
134struct config_t;
134 135
135struct pcmcia_driver { 136struct pcmcia_driver {
136 int (*probe) (struct pcmcia_device *dev); 137 int (*probe) (struct pcmcia_device *dev);
@@ -160,6 +161,7 @@ struct pcmcia_device {
160 /* the hardware "function" device; certain subdevices can 161 /* the hardware "function" device; certain subdevices can
161 * share one hardware "function" device. */ 162 * share one hardware "function" device. */
162 u8 func; 163 u8 func;
164 struct config_t* function_config;
163 165
164 struct list_head socket_device_list; 166 struct list_head socket_device_list;
165 167