On Tue, Nov 6, 2012 at 6:03 AM, Thomas Abraham
<thomas.abra...@linaro.org> wrote:
> On 5 November 2012 21:14, Axel Lin <axel....@ingics.com> wrote:

>> +#if defined(CONFIG_OF_GPIO)
>>                 gc->of_node = bank->of_node;
>> +#endif
>
> The samsung pinctrl driver supports only device tree enabled
> platforms. So instead of adding the above #if, would it not be better
> to add 'select OF_GPIO' for Samsung pinctrl driver in
> drivers/pinctrl/Kconfig. ?

Or edit the Samsung driver to depend on OF_GPIO, this is probably
better.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to