Skip to content

Commit

Permalink
alpha: fix pci_mmap_resource API breakage
Browse files Browse the repository at this point in the history
Caused by 2c3c8be which was clearly not
even compile tested.

Signed-off-by: Matt Turner <mattst88@gmail.com>
  • Loading branch information
Matt Turner committed Jun 15, 2010
1 parent 87a9d57 commit 5efa16f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/alpha/kernel/pci-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,14 @@ 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
* @sparse: address space type
*
* 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)
{
Expand Down

0 comments on commit 5efa16f

Please sign in to comment.