[PATCH] Including device.h and resource.h header files in linux/amba/bus.h
Linus Walleij
linus.ml.walleij at gmail.com
Fri Mar 26 13:31:50 EDT 2010
2010/3/25 Viresh KUMAR <viresh.kumar at st.com>:
> linux/amba/bus.h have dependencies on linux/device.h and linux/resource.h, but
> it doesn't include them. We get compilation errors in our files which include
> bus.h but doesn't include device.h and resource.h. This patch includes device.h
> and resource.h in linux/amba/bus.h file.
The customs of the kernel is to not #include .h files into each other so much,
the reason being that this easily goes out of hand. Instead #include
device.h and resource.h into your sourcefile above the amba/bus.h
inclusion.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list