diff options
author | Tony Luck <tony.luck@intel.com> | 2007-07-12 16:04:39 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-07-12 16:04:39 -0700 |
commit | 57e4acb3f63e1d3d74a75613eefde8b2d68164e3 (patch) | |
tree | f92c4c52f002a3b31b75b6336c80fe050df06c73 /include/asm-ia64/pci.h | |
parent | dd172d72addefd89795e819cc2cc3eb1b9d12a7f (diff) | |
download | blackbird-op-linux-57e4acb3f63e1d3d74a75613eefde8b2d68164e3.tar.gz blackbird-op-linux-57e4acb3f63e1d3d74a75613eefde8b2d68164e3.zip |
[IA64] Un-break ia64 build
Commit 91a6902958f052358899f58683d44e36228d85c2 added an extra
argument to pci_read_legacy_io() and pci_write_legacy_io(). But
the prototypes in include/asm-ia64/pci.h were not updated.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64/pci.h')
-rw-r--r-- | include/asm-ia64/pci.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-ia64/pci.h b/include/asm-ia64/pci.h index 3523d2584598..0149097b736d 100644 --- a/include/asm-ia64/pci.h +++ b/include/asm-ia64/pci.h @@ -96,10 +96,12 @@ extern int pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma, #define HAVE_PCI_LEGACY extern int pci_mmap_legacy_page_range(struct pci_bus *bus, struct vm_area_struct *vma); -extern ssize_t pci_read_legacy_io(struct kobject *kobj, char *buf, loff_t off, - size_t count); -extern ssize_t pci_write_legacy_io(struct kobject *kobj, char *buf, loff_t off, - size_t count); +extern ssize_t pci_read_legacy_io(struct kobject *kobj, + struct bin_attribute *bin_attr, + char *buf, loff_t off, size_t count); +extern ssize_t pci_write_legacy_io(struct kobject *kobj, + struct bin_attribute *bin_attr, + char *buf, loff_t off, size_t count); extern int pci_mmap_legacy_mem(struct kobject *kobj, struct bin_attribute *attr, struct vm_area_struct *vma); |