]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
alpha: fix pci_mmap_resource API breakage
authorMatt Turner <mattst88@gmail.com>
Tue, 15 Jun 2010 17:19:36 +0000 (13:19 -0400)
committerMatt Turner <mattst88@gmail.com>
Tue, 15 Jun 2010 18:19:07 +0000 (14:19 -0400)
Caused by 2c3c8bea608866d8bd9dcf92657d57fdcac011c5 which was clearly not
even compile tested.

Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/pci-sysfs.c

index a5fffc882c72f78429545cea81d5575ec16d11f2..738fc824e2ea373f85b3ae04fb7eb1346ecacdac 100644 (file)
@@ -53,7 +53,6 @@ static int __pci_mmap_fits(struct pci_dev *pdev, int num,
 
 /**
  * pci_mmap_resource - map a PCI resource into user memory space
- * @filp: open sysfs file
  * @kobj: kobject for mapping
  * @attr: struct bin_attribute for the file being mapped
  * @vma: struct vm_area_struct passed into the mmap
@@ -61,7 +60,7 @@ static int __pci_mmap_fits(struct pci_dev *pdev, int num,
  *
  * Use the bus mapping routines to map a PCI resource into userspace.
  */
-static int pci_mmap_resource(struct file *filp, struct kobject *kobj,
+static int pci_mmap_resource(struct kobject *kobj,
                             struct bin_attribute *attr,
                             struct vm_area_struct *vma, int sparse)
 {