]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] Un-break ia64 build
authorTony Luck <tony.luck@intel.com>
Thu, 12 Jul 2007 23:04:39 +0000 (16:04 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 12 Jul 2007 23:04:39 +0000 (16:04 -0700)
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>
include/asm-ia64/pci.h

index 3523d2584598a86a818061aed05e8503cd27da0f..0149097b736d70bd5e4d2f73801b5805ffe8a88a 100644 (file)
@@ -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);