From 2d16c88b86a0b1df827b990213ce27009a54f538 Mon Sep 17 00:00:00 2001 From: Vitaly Bordug Date: Wed, 9 Jul 2008 13:13:38 +1000 Subject: [PATCH] --- yaml --- r: 98794 b: refs/heads/master c: ba0fc709e197415aadd46b9ec208dc4abaa21edd h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/kernel/of_platform.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index fadbf1bfb530..2f7244d7ed3d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f1d407efbe59ff1a450f0ec7a486a768acaa2949 +refs/heads/master: ba0fc709e197415aadd46b9ec208dc4abaa21edd diff --git a/trunk/arch/powerpc/kernel/of_platform.c b/trunk/arch/powerpc/kernel/of_platform.c index e79ad8afda07..3f37a6e62771 100644 --- a/trunk/arch/powerpc/kernel/of_platform.c +++ b/trunk/arch/powerpc/kernel/of_platform.c @@ -76,6 +76,8 @@ struct of_device* of_platform_device_create(struct device_node *np, return NULL; dev->dma_mask = 0xffffffffUL; + dev->dev.coherent_dma_mask = DMA_32BIT_MASK; + dev->dev.bus = &of_platform_bus_type; /* We do not fill the DMA ops for platform devices by default.