Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154875
b: refs/heads/master
c: 8d2d00d
h: refs/heads/master
i:
  154873: 8446571
  154871: 8c8aca2
v: v3
  • Loading branch information
Alexander Beregalov authored and Kyle McMartin committed Jul 3, 2009
1 parent 9cc6045 commit 2fb7a90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 17085a934592585bd878884dee04b850a367be10
refs/heads/master: 8d2d00ddeff2c2d1164d96e2d1b53e45ceb528c8
7 changes: 4 additions & 3 deletions trunk/drivers/parisc/ccio-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ static const struct file_operations ccio_proc_bitmap_fops = {
.llseek = seq_lseek,
.release = single_release,
};
#endif
#endif /* CONFIG_PROC_FS */

/**
* ccio_find_ioc - Find the ioc in the ioc_list
Expand Down Expand Up @@ -1568,14 +1568,15 @@ static int __init ccio_probe(struct parisc_device *dev)
/* if this fails, no I/O cards will work, so may as well bug */
BUG_ON(dev->dev.platform_data == NULL);
HBA_DATA(dev->dev.platform_data)->iommu = ioc;


#ifdef CONFIG_PROC_FS
if (ioc_count == 0) {
proc_create(MODULE_NAME, 0, proc_runway_root,
&ccio_proc_info_fops);
proc_create(MODULE_NAME"-bitmap", 0, proc_runway_root,
&ccio_proc_bitmap_fops);
}

#endif
ioc_count++;

parisc_has_iommu();
Expand Down

0 comments on commit 2fb7a90

Please sign in to comment.