summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-11 09:29:50 +0200
committerChristoph Hellwig <hch@lst.de>2020-09-25 06:12:15 +0200
commit7ae10eb903d6ed9b3069fe1dc175b36d86667d09 (patch)
tree99c2d92956da65c1c9dee9afddcaad8758147a89 /drivers/pcmcia
parentb9bb694b9f62f4b31652223ed3ca38cf98bbb370 (diff)
downloadlinux-7ae10eb903d6ed9b3069fe1dc175b36d86667d09.tar.bz2
dma-mapping: remove DMA_MASK_NONE
This value is only used by a PCMCIA driver and not very useful. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Dominik Brodowski <linux@dominikbrodwski.net>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/ds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 09d06b082f8b..72114907c0e4 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -516,7 +516,7 @@ static struct pcmcia_device *pcmcia_device_add(struct pcmcia_socket *s,
p_dev->dev.parent = s->dev.parent;
p_dev->dev.release = pcmcia_release_dev;
/* by default don't allow DMA */
- p_dev->dma_mask = DMA_MASK_NONE;
+ p_dev->dma_mask = 0;
p_dev->dev.dma_mask = &p_dev->dma_mask;
dev_set_name(&p_dev->dev, "%d.%d", p_dev->socket->sock, p_dev->device_no);
if (!dev_name(&p_dev->dev))