[parisc-linux-cvs] linux grundler

Grant Grundler grundler@dsl2.external.hp.com
Tue, 08 Jan 2002 17:56:42 -0700


Grant Grundler wrote:
> Log message:
> enable dino to build w/o CONFIG_IOMMU_CCIO defined - not a functional change

Index: drivers/gsc/dino.c
===================================================================
RCS file: /var/cvs/linux/drivers/gsc/dino.c,v
retrieving revision 1.50
diff -u -p -r1.50 dino.c
--- drivers/gsc/dino.c  2002/01/07 23:47:31     1.50
+++ drivers/gsc/dino.c  2002/01/09 00:10:02
@@ -472,7 +472,7 @@ void ccio_extend_mmio_range(struct ioc *
 struct resource * ccio_find_parisc_resource(struct ioc *ioc);
 #else /* !CONFIG_IOMMU_CCIO */
 #define ccio_extend_mmio_range()
-#define ccio_find_parisc_resource &iomem_resource
+#define ccio_find_parisc_resource(x) &iomem_resource
 #endif /* !CONFIG_IOMMU_CCIO */

 #define _8MB 0x00800000