projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git]
/
arch
/
alpha
/
kernel
/
pci-sysfs.c
diff --git
a/arch/alpha/kernel/pci-sysfs.c
b/arch/alpha/kernel/pci-sysfs.c
index 738fc824e2ea373f85b3ae04fb7eb1346ecacdac..b899e95f79fdb424ea9b07d31153edb0e824ac8e 100644
(file)
--- 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;