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>
This commit is contained in:
parent
a3d0d4d8dd
commit
b5cb259e7f
18 changed files with 42 additions and 105 deletions
|
@ -870,7 +870,6 @@ xirc2ps_config(struct pcmcia_device * link)
|
|||
|
||||
if (local->dingo) {
|
||||
win_req_t req;
|
||||
memreq_t mem;
|
||||
|
||||
/* Reset the modem's BAR to the correct value
|
||||
* This is necessary because in the RequestConfiguration call,
|
||||
|
@ -898,9 +897,7 @@ xirc2ps_config(struct pcmcia_device * link)
|
|||
goto config_error;
|
||||
|
||||
local->dingo_ccr = ioremap(req.Base,0x1000) + 0x0800;
|
||||
mem.CardOffset = 0x0;
|
||||
mem.Page = 0;
|
||||
if ((err = pcmcia_map_mem_page(link, link->win, &mem)))
|
||||
if ((err = pcmcia_map_mem_page(link, link->win, 0)))
|
||||
goto config_error;
|
||||
|
||||
/* Setup the CCRs; there are no infos in the CIS about the Ethernet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue