Thread (4 messages) 4 messages, 2 authors, 2021-03-27

Re: [PATCH v2] Input: imx_keypad - convert to a DT-only driver

From: Fabio Estevam <festevam@gmail.com>
Date: 2021-03-27 19:45:31

Hi Dmitry,

On Sat, Mar 27, 2021 at 4:37 PM Dmitry Torokhov
[off-list ref] wrote:
Sorry, I am still confused why we need the OF dependency given that the
driver can be compiled without CONFIG_OF (of_device_id is always
defined) and, as far as I understand, while entire ARCH_MXC is not
selecting OF, all real users are converted to OF.

I guess if we really need this OF dependency we can make it:

        depends on (ARCH_MXC && OF) || COMPILE_TEST

Please let me know.
You are correct. There is no need to add the OF dependency.

I have just submitted v3 without it.

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help