Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

alpha: fix pci_mmap_resource API breakage

Caused by 2c3c8bea608866d8bd9dcf92657d57fdcac011c5 which was clearly not
even compile tested.

Signed-off-by: Matt Turner <mattst88@gmail.com>

+1 -2
+1 -2
arch/alpha/kernel/pci-sysfs.c
··· 53 53 54 54 /** 55 55 * pci_mmap_resource - map a PCI resource into user memory space 56 - * @filp: open sysfs file 57 56 * @kobj: kobject for mapping 58 57 * @attr: struct bin_attribute for the file being mapped 59 58 * @vma: struct vm_area_struct passed into the mmap ··· 60 61 * 61 62 * Use the bus mapping routines to map a PCI resource into userspace. 62 63 */ 63 - static int pci_mmap_resource(struct file *filp, struct kobject *kobj, 64 + static int pci_mmap_resource(struct kobject *kobj, 64 65 struct bin_attribute *attr, 65 66 struct vm_area_struct *vma, int sparse) 66 67 {