From 285587b54798c2401618fa373e2688dd58f754da Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 15 Jun 2010 13:19:36 -0400 Subject: [PATCH] --- yaml --- r: 200428 b: refs/heads/master c: 5efa16ff77cb785647a480dcdc70a6b4fc787996 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/alpha/kernel/pci-sysfs.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 27fe55b2047b..f1c7ccc49fb4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 87a9d57da41e70dc85adf23e158308527c051b3a +refs/heads/master: 5efa16ff77cb785647a480dcdc70a6b4fc787996 diff --git a/trunk/arch/alpha/kernel/pci-sysfs.c b/trunk/arch/alpha/kernel/pci-sysfs.c index a5fffc882c72..738fc824e2ea 100644 --- a/trunk/arch/alpha/kernel/pci-sysfs.c +++ b/trunk/arch/alpha/kernel/pci-sysfs.c @@ -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) {