diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-11 10:29:50 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-09-25 07:12:15 +0300 |
commit | 7ae10eb903d6ed9b3069fe1dc175b36d86667d09 (patch) | |
tree | 99c2d92956da65c1c9dee9afddcaad8758147a89 /drivers/pcmcia | |
parent | b9bb694b9f62f4b31652223ed3ca38cf98bbb370 (diff) | |
download | linux-7ae10eb903d6ed9b3069fe1dc175b36d86667d09.tar.xz |
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.c | 2 |
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)) |