parisc: sba_iommu: fix build bug when CONFIG_PARISC_AGP=y
authorKyle McMartin <kyle@mcmartin.ca>
Sat, 14 Mar 2009 23:40:59 +0000 (19:40 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 15 Mar 2009 20:36:22 +0000 (13:36 -0700)
CC      drivers/parisc/sba_iommu.o
drivers/parisc/sba_iommu.c:1373: error: expected identifier or '('
before '}' token
make[2]: *** [drivers/parisc/sba_iommu.o] Error 1
make[1]: *** [drivers/parisc] Error 2
make: *** [drivers] Error 2

Don't know how this has gone missed for so long... clearly I need
to do builds on my C8000 more often.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/parisc/sba_iommu.c

index 6aad8546fd24299d959e3fd54d65f0a6d620ba1a..e5999c4cedc81d64aad819f25a9d38a78de06f78 100644 (file)
@@ -1367,9 +1367,7 @@ sba_ioc_init_pluto(struct parisc_device *sba, struct ioc *ioc, int ioc_num)
                ioc->pdir_size /= 2;
                ioc->pdir_base[PDIR_INDEX(iova_space_size/2)] = SBA_AGPGART_COOKIE;
        }
-}
 #endif /*SBA_AGP_SUPPORT*/
-
 }
 
 static void