[PATCH 3/3] powerpc: expect all devices calling dma ops to have archdata set

Becky Bruce beckyb at kernel.crashing.org
Sat Feb 21 07:45:04 EST 2009


On Feb 19, 2009, at 4:08 PM, Benjamin Krill wrote:

> * Kumar Gala | 2009-02-19 14:49:17 [-0600]:
>
>> Now that we set archdata for of_platform and platform devices via
>> platform_notify() we no longer need to special case having a NULL  
>> device
>> pointer or NULL archdata.  It should be a driver error if this  
>> condition
>> shows up and the driver should be fixed.
>>
>> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
>
> Acked-by: Benjamin Krill <ben at codiert.org>

Tested on ppc 86xx, looks good.

Acked-by: Becky Bruce <beckyb at kernel.crashing.org>

-B




More information about the Linuxppc-dev mailing list