Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH V2 5/6] x86: add CONFIG_ARM_AMBA, selected by STA2X11 | Date | Mon, 2 Jul 2012 16:58:27 +0000 |
| |
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
| |