Re: QUERY: Inclusion of header files in kernel header files

From: viresh kumar
Date: Tue Feb 23 2010 - 06:37:53 EST


>> I think, ideally including any header file shouldn't give compilation
>> errors for types used in
>> included header file.
>
> Agreed.
>
> I'd send a patch fixing the bus.h header, in case no one has a valid
> technical reason against it.
>

That will be great!!!

Actually this issue is not present only in bus.h, but some other
kernel header files.
Like: arch/arm/include/asm/clkdev.h don't include list.h file but
using struct list_head

May be we need to check this in other header files also.

regards,
viresh kumar
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/