diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-10-04 15:08:33 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@hera.kernel.org> | 2006-10-04 21:48:17 -0400 |
commit | ee9f4b5d95d03d1546f0d06cbe384bd4ab97bcba (patch) | |
tree | f10667b8cab7501199b0ab1878deda8d6914f58a | |
parent | 3bdc9d0b408e01c4e556daba0035ba37f603e920 (diff) |
[PA-RISC] Fix sba_iommu compilation
klist_iter_exit() only takes one parameter.
Also fix warning by adding additional brackets.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
-rw-r--r-- | drivers/parisc/sba_iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c index 294c1117098d..f1e7ccd5475b 100644 --- a/drivers/parisc/sba_iommu.c +++ b/drivers/parisc/sba_iommu.c | |||
@@ -1320,12 +1320,12 @@ sba_ioc_init_pluto(struct parisc_device *sba, struct ioc *ioc, int ioc_num) | |||
1320 | ** the GART code to handshake on. | 1320 | ** the GART code to handshake on. |
1321 | */ | 1321 | */ |
1322 | klist_iter_init(&sba->dev.klist_children, &i); | 1322 | klist_iter_init(&sba->dev.klist_children, &i); |
1323 | while (dev = next_device(&i)) { | 1323 | while ((dev = next_device(&i))) { |
1324 | struct parisc_device *lba = to_parisc_device(dev); | 1324 | struct parisc_device *lba = to_parisc_device(dev); |
1325 | if (IS_QUICKSILVER(lba)) | 1325 | if (IS_QUICKSILVER(lba)) |
1326 | agp_found = 1; | 1326 | agp_found = 1; |
1327 | } | 1327 | } |
1328 | klist_iter_exit(&sba->dev.klist_children, &i); | 1328 | klist_iter_exit(&i); |
1329 | 1329 | ||
1330 | if (agp_found && sba_reserve_agpgart) { | 1330 | if (agp_found && sba_reserve_agpgart) { |
1331 | printk(KERN_INFO "%s: reserving %dMb of IOVA space for agpgart\n", | 1331 | printk(KERN_INFO "%s: reserving %dMb of IOVA space for agpgart\n", |