[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201207021658.27755.arnd@arndb.de>
Date: Mon, 2 Jul 2012 16:58:27 +0000
From: Arnd Bergmann <arnd@...db.de>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Alessandro Rubini <rubini@...dd.com>, linux-kernel@...r.kernel.org,
giancarlo.asnaghi@...com, alan@...ux.intel.com,
linux@....linux.org.uk, x86@...nel.org, gregkh@...uxfoundation.org,
linux-arm-kernel@...ts.infradead.org, linux-serial@...r.kernel.org,
linux-arch@...r.kernel.org
Subject: Re: [PATCH V2 5/6] x86: add CONFIG_ARM_AMBA, selected by STA2X11
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists