.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * PCMCIA 16-bit resource management functions |
---|
3 | 4 | * |
---|
.. | .. |
---|
7 | 8 | * |
---|
8 | 9 | * Copyright (C) 1999 David A. Hinds |
---|
9 | 10 | * Copyright (C) 2004-2010 Dominik Brodowski |
---|
10 | | - * |
---|
11 | | - * This program is free software; you can redistribute it and/or modify |
---|
12 | | - * it under the terms of the GNU General Public License version 2 as |
---|
13 | | - * published by the Free Software Foundation. |
---|
14 | | - * |
---|
15 | 11 | */ |
---|
16 | 12 | |
---|
17 | 13 | #include <linux/module.h> |
---|
.. | .. |
---|
284 | 280 | io_on.stop = s->io[i].res->end; |
---|
285 | 281 | |
---|
286 | 282 | s->ops->set_io_map(s, &io_off); |
---|
287 | | - mdelay(40); |
---|
| 283 | + msleep(40); |
---|
288 | 284 | s->ops->set_io_map(s, &io_on); |
---|
289 | 285 | } |
---|
290 | 286 | unlock: |
---|
.. | .. |
---|
567 | 563 | !(flags & CONF_ENABLE_PULSE_IRQ)) |
---|
568 | 564 | option |= COR_LEVEL_REQ; |
---|
569 | 565 | pcmcia_write_cis_mem(s, 1, (base + CISREG_COR)>>1, 1, &option); |
---|
570 | | - mdelay(40); |
---|
| 566 | + msleep(40); |
---|
571 | 567 | } |
---|
572 | 568 | if (p_dev->config_regs & PRESENT_STATUS) |
---|
573 | 569 | pcmcia_write_cis_mem(s, 1, (base + CISREG_CCSR)>>1, 1, &status); |
---|