Messages in this thread | | | Date | Tue, 23 Feb 2010 17:07:47 +0530 | Subject | Re: QUERY: Inclusion of header files in kernel header files | From | viresh kumar <> |
| |
>> 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
| |