[PATCH] Including device.h and resource.h header files in linux/amba/bus.h

Linus Walleij linus.ml.walleij at gmail.com
Sat Mar 27 16:57:04 EDT 2010


[Viresh]
> On Sat, Mar 27, 2010 at 2:43 PM, Linus Walleij
>> On the other hand Documentation/SubmitChecklist contains this:
>>
>> 1: If you use a facility then #include the file that defines/declares
>>   that facility.  Don't depend on other header files pulling in ones
>>   that you use.
>
> I agree on the above statement.
>
>(...)
> Again, according to above statement from submitchecklist:
> shouldn't bus.h include device.h and resource.h, as it is using
> these facilities.

Yes I think you're right, looks like it should be applied then!
Acked-by:

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list