QUERY: Inclusion of header files in kernel header files.

viresh kumar viresh.linux at gmail.com
Tue Feb 23 23:20:59 EST 2010


> My understanding is that if you are going to include every dependency
> into the header files, they are going to explode very soon. E.g. like bus.h,
> as long as you declared something like:
>
> struct device;
> struct resource;
>

If these two structure prototypes are already present in latest kernel
then its okay.
Actually i have seen 2.6.32 and these prototypes are not present
there, so we may need to add
header file or add prototypes of these structures.

rgds,
viresh.



More information about the linux-arm-kernel mailing list