[PATCH V2 5/6] x86: add CONFIG_ARM_AMBA, selected by STA2X11
Arnd Bergmann
arnd at arndb.de
Mon Jul 2 12:58:27 EDT 2012
On Sunday 01 July 2012, H. Peter Anvin wrote:
>
> There is no problem with adding ARM or !X86 dependencies to drivers
> now and fixing them later or as required.
Right, but if the fix is trivial (e.g. missing #include statement), it's
usually better to just fix the code.
Also, in many cases it's possible to say specifically what some code depends
on. E.g. if a driver uses clk_get/clk_put, it should depend on CLKDEV_LOOKUP,
not on !X86.
Arnd
More information about the linux-arm-kernel
mailing list