]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-parisc/dma-mapping.h
V4L/DVB (8956): bttv: Turn video_nr, vbi_nr and radio_nr into arrays
[linux-2.6-omap-h63xx.git] / include / asm-parisc / dma-mapping.h
index 66f0b408c66907cd90b42ee8861507760ac5b67d..53af696f23d2fda10025551686d9ce15e01f1f00 100644 (file)
@@ -236,7 +236,7 @@ int ccio_allocate_resource(const struct parisc_device *dev,
                unsigned long min, unsigned long max, unsigned long align);
 #else /* !CONFIG_IOMMU_CCIO */
 #define ccio_get_iommu(dev) NULL
-#define ccio_request_resource(dev, res) request_resource(&iomem_resource, res)
+#define ccio_request_resource(dev, res) insert_resource(&iomem_resource, res)
 #define ccio_allocate_resource(dev, res, size, min, max, align) \
                allocate_resource(&iomem_resource, res, size, min, max, \
                                align, NULL, NULL)
@@ -248,6 +248,6 @@ void * sba_get_iommu(struct parisc_device *dev);
 #endif
 
 /* At the moment, we panic on error for IOMMU resource exaustion */
-#define dma_mapping_error(x)   0
+#define dma_mapping_error(dev, x)      0
 
 #endif