summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ppc4xx
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-06-03 02:46:37 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-06-03 05:02:39 +0200
commit05c02542c20aa00dc9a66f4bfb1a89d1131457f2 (patch)
tree416689b42957b8217f50966ea325a0251f262f98 /drivers/dma/ppc4xx
parentof/mtd: nand: fix build breakage in drivers (diff)
downloadlinux-05c02542c20aa00dc9a66f4bfb1a89d1131457f2.tar.xz
linux-05c02542c20aa00dc9a66f4bfb1a89d1131457f2.zip
of/dma: fix build breakage in ppc4xx adma driver
Fixes build error caused by the OF device_node pointer being moved into struct device Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/dma/ppc4xx')
-rw-r--r--drivers/dma/ppc4xx/adma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c
index fa98abe4686f..5a22ca6927e5 100644
--- a/drivers/dma/ppc4xx/adma.c
+++ b/drivers/dma/ppc4xx/adma.c
@@ -4394,7 +4394,7 @@ static void ppc440spe_adma_release_irqs(struct ppc440spe_adma_device *adev,
static int __devinit ppc440spe_adma_probe(struct of_device *ofdev,
const struct of_device_id *match)
{
- struct device_node *np = ofdev->node;
+ struct device_node *np = ofdev->dev.of_node;
struct resource res;
struct ppc440spe_adma_device *adev;
struct ppc440spe_adma_chan *chan;
@@ -4626,7 +4626,7 @@ out:
static int __devexit ppc440spe_adma_remove(struct of_device *ofdev)
{
struct ppc440spe_adma_device *adev = dev_get_drvdata(&ofdev->dev);
- struct device_node *np = ofdev->node;
+ struct device_node *np = ofdev->dev.of_node;
struct resource res;
struct dma_chan *chan, *_chan;
struct ppc_dma_chan_ref *ref, *_ref;