summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/pci-sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/pci-sysfs.c')
-rw-r--r--arch/alpha/kernel/pci-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/pci-sysfs.c b/arch/alpha/kernel/pci-sysfs.c
index 738fc824e2e..b899e95f79f 100644
--- a/arch/alpha/kernel/pci-sysfs.c
+++ b/arch/alpha/kernel/pci-sysfs.c
@@ -66,7 +66,7 @@ static int pci_mmap_resource(struct kobject *kobj,
{
struct pci_dev *pdev = to_pci_dev(container_of(kobj,
struct device, kobj));
- struct resource *res = (struct resource *)attr->private;
+ struct resource *res = attr->private;
enum pci_mmap_state mmap_type;
struct pci_bus_region bar;
int i;