diff options
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci-sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c index c9957f68ac9b..5935b854917f 100644 --- a/drivers/pci/pci-sysfs.c +++ b/drivers/pci/pci-sysfs.c | |||
@@ -734,7 +734,7 @@ pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, | |||
734 | { | 734 | { |
735 | struct pci_dev *pdev = to_pci_dev(container_of(kobj, | 735 | struct pci_dev *pdev = to_pci_dev(container_of(kobj, |
736 | struct device, kobj)); | 736 | struct device, kobj)); |
737 | struct resource *res = (struct resource *)attr->private; | 737 | struct resource *res = attr->private; |
738 | enum pci_mmap_state mmap_type; | 738 | enum pci_mmap_state mmap_type; |
739 | resource_size_t start, end; | 739 | resource_size_t start, end; |
740 | int i; | 740 | int i; |