forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/pcmcia/ds.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ds.c -- 16-bit PCMCIA core support
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 *
85 * The initial developer of the original code is David A. Hinds
96 * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
....@@ -67,7 +64,7 @@
6764 "be 0x%x\n", p_drv->name, did->prod_id[i],
6865 did->prod_id_hash[i], hash);
6966 printk(KERN_DEBUG "pcmcia: see "
70
- "Documentation/pcmcia/devicetable.txt for "
67
+ "Documentation/pcmcia/devicetable.rst for "
7168 "details\n");
7269 }
7370 did++;
....@@ -519,7 +516,7 @@
519516 p_dev->dev.parent = s->dev.parent;
520517 p_dev->dev.release = pcmcia_release_dev;
521518 /* by default don't allow DMA */
522
- p_dev->dma_mask = DMA_MASK_NONE;
519
+ p_dev->dma_mask = 0;
523520 p_dev->dev.dma_mask = &p_dev->dma_mask;
524521 dev_set_name(&p_dev->dev, "%d.%d", p_dev->socket->sock, p_dev->device_no);
525522 if (!dev_name(&p_dev->dev))