aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2010-07-24 12:46:42 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2010-08-03 03:04:14 -0400
commitb5cb259e7fac5536c4ddf350af6a3d6cc950e47e (patch)
treefd752edd9a19ad9592fdabc87465ba17019465f6 /include/pcmcia
parenta3d0d4d8dd45779b6e174a8567ffb9b485e472af (diff)
pcmcia: remove memreq_t
Page already had to be set to 0; Offset can easily be passed as parameter to pcmcia_map_mem_page. CC: netdev@vger.kernel.org CC: linux-wireless@vger.kernel.org CC: linux-ide@vger.kernel.org CC: linux-usb@vger.kernel.org CC: laforge@gnumonks.org CC: linux-mtd@lists.infradead.org CC: linux-bluetooth@vger.kernel.org CC: alsa-devel@alsa-project.org CC: linux-serial@vger.kernel.org CC: Michael Buesch <mb@bu3sch.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r--include/pcmcia/cs.h6
-rw-r--r--include/pcmcia/ds.h2
2 files changed, 1 insertions, 7 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h
index 583a4e33039a..e4faf4420f2a 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -68,12 +68,6 @@ typedef struct config_req_t {
68#define PRESENT_IOBASE_3 0x100 68#define PRESENT_IOBASE_3 0x100
69#define PRESENT_IOSIZE 0x200 69#define PRESENT_IOSIZE 0x200
70 70
71/* For GetMemPage, MapMemPage */
72typedef struct memreq_t {
73 u_int CardOffset;
74 u_short Page;
75} memreq_t;
76
77/* For RequestWindow */ 71/* For RequestWindow */
78typedef struct win_req_t { 72typedef struct win_req_t {
79 u_int Attributes; 73 u_int Attributes;
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index 0748bec0a87a..a2bf3a702c08 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -202,7 +202,7 @@ int pcmcia_request_window(struct pcmcia_device *p_dev, win_req_t *req,
202 window_handle_t *wh); 202 window_handle_t *wh);
203int pcmcia_release_window(struct pcmcia_device *p_dev, window_handle_t win); 203int pcmcia_release_window(struct pcmcia_device *p_dev, window_handle_t win);
204int pcmcia_map_mem_page(struct pcmcia_device *p_dev, window_handle_t win, 204int pcmcia_map_mem_page(struct pcmcia_device *p_dev, window_handle_t win,
205 memreq_t *req); 205 unsigned int offset);
206 206
207int pcmcia_modify_configuration(struct pcmcia_device *p_dev, modconf_t *mod); 207int pcmcia_modify_configuration(struct pcmcia_device *p_dev, modconf_t *mod);
208void pcmcia_disable_device(struct pcmcia_device *p_dev); 208void pcmcia_disable_device(struct pcmcia_device *p_dev);