From patchwork Sat Mar 14 23:40:59 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle McMartin X-Patchwork-Id: 12161 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2ENf3eg016087 for ; Sat, 14 Mar 2009 23:41:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752367AbZCNXlE (ORCPT ); Sat, 14 Mar 2009 19:41:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752755AbZCNXlE (ORCPT ); Sat, 14 Mar 2009 19:41:04 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:44991 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752367AbZCNXlB (ORCPT ); Sat, 14 Mar 2009 19:41:01 -0400 Received: from kyle by bombadil.infradead.org with local (Exim 4.69 #1 (Red Hat Linux)) id 1LidTP-0002Q4-HE; Sat, 14 Mar 2009 23:40:59 +0000 Date: Sat, 14 Mar 2009 19:40:59 -0400 From: Kyle McMartin To: torvalds@linux-foundation.org Cc: linux-parisc@vger.kernel.org Subject: [PATCH] parisc: sba_iommu: fix build bug when CONFIG_PARISC_AGP=y Message-ID: <20090314234059.GE3167@bombadil.infradead.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org From: Kyle McMartin 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 --- -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c index 6aad854..e5999c4 100644 --- a/drivers/parisc/sba_iommu.c +++ b/drivers/parisc/sba_iommu.c @@ -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