projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b74dbf2
)
of/powerpc: fix fsl_msi device node pointer
author
Wolfram Sang
<w.sang@pengutronix.de>
Thu, 3 Jun 2010 04:03:46 +0000
(06:03 +0200)
committer
Grant Likely
<grant.likely@secretlab.ca>
Thu, 3 Jun 2010 04:26:42 +0000
(22:26 -0600)
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/sysdev/fsl_msi.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/fsl_msi.c
b/arch/powerpc/sysdev/fsl_msi.c
index 0f5bee90ee4e2b572ff28a68431af2b51b60d825..962c2d8dd8d927e0d2e03336dff954e42935ef86 100644
(file)
--- a/
arch/powerpc/sysdev/fsl_msi.c
+++ b/
arch/powerpc/sysdev/fsl_msi.c
@@
-347,7
+347,7
@@
static int __devinit fsl_of_msi_probe(struct of_device *dev,
goto error_out;
}
offset = 0;
- p = of_get_property(dev->node, "msi-available-ranges", &len);
+ p = of_get_property(dev->
dev.of_
node, "msi-available-ranges", &len);
if (p)
offset = *p / IRQS_PER_MSI_REG;