We have a long standing issues with platform devices not have a valid
dma_mask pointer. This hasn't been an issue to date as no platform
device has tried to set its dma_mask value to a non-default value.
Signed-off-by: Kumar Gala
---
arch/powerpc/include/asm/platform_device.h | 17 +++
On Aug 5, 2010, at 10:44 AM, Stephen Rothwell wrote:
> Hi Kumar,
>
> On Thu, 5 Aug 2010 10:15:46 -0500 Kumar Gala
> wrote:
>>
>> +static inline void arch_setup_pdev_archdata(struct platform_device *pdev)
>> +{
>> +pdev->dev.dma_mask = &pdev->archdata.dma_mask;
>> +
>> +return;
>> +}
Hi Kumar,
On Thu, 5 Aug 2010 10:15:46 -0500 Kumar Gala wrote:
>
> +static inline void arch_setup_pdev_archdata(struct platform_device *pdev)
> +{
> + pdev->dev.dma_mask = &pdev->archdata.dma_mask;
> +
> + return;
> +}
The blank line and "return;" don't add anything.
--
Cheers,
Stephen
We have a long standing issues with platform devices not have a valid
dma_mask pointer. This hasn't been an issue to date as no platform
device has tried to set its dma_mask value to a non-default value.
Signed-off-by: Kumar Gala
---
arch/powerpc/include/asm/platform_device.h | 16 +++