aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2009-10-18 18:07:39 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2009-11-08 12:23:11 -0500
commit18a7a19b37838789452e0bd2855a51475628b971 (patch)
treea63cbd6b291f81838ac49ed59982e0f2f885610a
parent18b61b97294dad74dd00a1aa8efed0cfacb95aff (diff)
pcmcia: remove pcmcia_get_{first,next}_tuple()
Remove the pcmcia_get_{first,next}_tuple() calls no longer needed by (current) pcmcia device drivers. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
-rw-r--r--drivers/pcmcia/cs_internal.h9
-rw-r--r--include/pcmcia/ds.h15
2 files changed, 9 insertions, 15 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h
index 06a14c951e92..70432cae76eb 100644
--- a/drivers/pcmcia/cs_internal.h
+++ b/drivers/pcmcia/cs_internal.h
@@ -206,6 +206,15 @@ int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
206 cisparse_t *parse, 206 cisparse_t *parse,
207 void *priv_data)); 207 void *priv_data));
208 208
209int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function,
210 tuple_t *tuple);
211
212int pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int function,
213 tuple_t *tuple);
214
215int pccard_get_tuple_data(struct pcmcia_socket *s, tuple_t *tuple);
216
217
209/* rsrc_mgr.c */ 218/* rsrc_mgr.c */
210int pcmcia_validate_mem(struct pcmcia_socket *s); 219int pcmcia_validate_mem(struct pcmcia_socket *s);
211struct resource *pcmcia_find_io_region(unsigned long base, 220struct resource *pcmcia_find_io_region(unsigned long base,
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index 2eb6e24d1a6b..6c37d4ed7832 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -229,21 +229,6 @@ int pcmcia_reset_card(struct pcmcia_socket *skt);
229int pcmcia_access_configuration_register(struct pcmcia_device *p_dev, 229int pcmcia_access_configuration_register(struct pcmcia_device *p_dev,
230 conf_reg_t *reg); 230 conf_reg_t *reg);
231 231
232/* deprecated -- do not use in drivers. */
233int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function,
234 tuple_t *tuple);
235#define pcmcia_get_first_tuple(p_dev, tuple) \
236 pccard_get_first_tuple(p_dev->socket, p_dev->func, tuple)
237
238int pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int function,
239 tuple_t *tuple);
240#define pcmcia_get_next_tuple(p_dev, tuple) \
241 pccard_get_next_tuple(p_dev->socket, p_dev->func, tuple)
242
243int pccard_get_tuple_data(struct pcmcia_socket *s, tuple_t *tuple);
244#define pcmcia_get_tuple_data(p_dev, tuple) \
245 pccard_get_tuple_data(p_dev->socket, tuple)
246
247/* device configuration */ 232/* device configuration */
248int pcmcia_request_io(struct pcmcia_device *p_dev, io_req_t *req); 233int pcmcia_request_io(struct pcmcia_device *p_dev, io_req_t *req);
249int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req); 234int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req);