Hi Peter, On Fri, Jan 3, 2020 at 11:20 AM Peter Chen <peter.chen@xxxxxxx> wrote: > > > > > Hi Felipe, > > > > > > How to make sure it works? Except for enabling CONFIG_COMPLIE_TEST, > > > what else I need to do? Thanks. > > > > Felipe's suggestion is you should change your config dependency as: > > depends on ARCH_MXC || COMPILE_TEST > > > > Then user can compile your driver to find warning or something else though the > > ARCH_MXC config is not enabled. > > Hi Baolin, > > I know that, I have already changed that, unset ARCH_MXC and enable > CONFIG_COMPILE_TEST. OK. I think this is enough if you can compile successfully. > What else I could do to make sure it could compile OK > at every architecture? I think Felipe's meaning is we should not only compile drivers under the specific ARCH limitation, we can add COMPILE_TEST dependency to allow drivers to be complied in any ARCHs. And you've done that, so I think nothing else need to do here.