| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * arch/sh/drivers/pci/fixups-dreamcast.c |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 9 | 10 | * This file originally bore the message (with enclosed-$): |
|---|
| 10 | 11 | * Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp |
|---|
| 11 | 12 | * Dreamcast PCI: Supports SEGA Broadband Adaptor only. |
|---|
| 12 | | - * |
|---|
| 13 | | - * This file is subject to the terms and conditions of the GNU General Public |
|---|
| 14 | | - * License. See the file "COPYING" in the main directory of this archive |
|---|
| 15 | | - * for more details. |
|---|
| 16 | 13 | */ |
|---|
| 17 | 14 | |
|---|
| 18 | 15 | #include <linux/sched.h> |
|---|
| .. | .. |
|---|
| 22 | 19 | #include <linux/init.h> |
|---|
| 23 | 20 | #include <linux/irq.h> |
|---|
| 24 | 21 | #include <linux/pci.h> |
|---|
| 25 | | -#include <linux/dma-mapping.h> |
|---|
| 22 | +#include <linux/dma-map-ops.h> |
|---|
| 26 | 23 | |
|---|
| 27 | 24 | #include <asm/io.h> |
|---|
| 28 | 25 | #include <asm/irq.h> |
|---|
| .. | .. |
|---|
| 66 | 63 | BUG_ON(dma_declare_coherent_memory(&dev->dev, |
|---|
| 67 | 64 | res.start, |
|---|
| 68 | 65 | region.start, |
|---|
| 69 | | - resource_size(&res), |
|---|
| 70 | | - DMA_MEMORY_EXCLUSIVE)); |
|---|
| 66 | + resource_size(&res))); |
|---|
| 71 | 67 | break; |
|---|
| 72 | 68 | default: |
|---|
| 73 | 69 | printk("PCI: Failed resource fixup\n"); |
|---|