mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
pcmcia: pcmcia_request_window() doesn't need a pointer to a pointer
pcmcia_request_window() only needs a pointer to struct pcmcia_device, not a pointer to a pointer. CC: [email protected] CC: [email protected] CC: [email protected] CC: Jiri Kosina <[email protected]> Acked-by: Karsten Keil <[email protected]> (for ISDN) Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
82f88e3600
commit
6838b03fc6
19 changed files with 27 additions and 27 deletions
|
|
@ -752,9 +752,9 @@ EXPORT_SYMBOL(pcmcia_request_irq);
|
|||
* Request_window() establishes a mapping between card memory space
|
||||
* and system memory space.
|
||||
*/
|
||||
int pcmcia_request_window(struct pcmcia_device **p_dev, win_req_t *req, window_handle_t *wh)
|
||||
int pcmcia_request_window(struct pcmcia_device *p_dev, win_req_t *req, window_handle_t *wh)
|
||||
{
|
||||
struct pcmcia_socket *s = (*p_dev)->socket;
|
||||
struct pcmcia_socket *s = p_dev->socket;
|
||||
pccard_mem_map *win;
|
||||
u_long align;
|
||||
int w;
|
||||
|
|
@ -804,7 +804,7 @@ int pcmcia_request_window(struct pcmcia_device **p_dev, win_req_t *req, window_h
|
|||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
(*p_dev)->_win |= CLIENT_WIN_REQ(w);
|
||||
p_dev->_win |= CLIENT_WIN_REQ(w);
|
||||
|
||||
/* Configure the socket controller */
|
||||
win->map = w+1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue