Re: [PATCH] [net] nvmem: disallow modular CONFIG_NVMEM
From: Arnd Bergmann
Date: Wed Apr 04 2018 - 09:38:30 EST
On Wed, Apr 4, 2018 at 3:32 PM, Mike Looijmans <mike.looijmans@xxxxxxxx> wrote:
>
> Which may still be very confusing, since it means that CONFIG_MACB=y with
> CONFIG_NVMEM=m will fail, but setting both to "y" or both to "m" will work.
> So that would introduce more build failures again, right?
Right, it would require having a
depends on NVMEM || !NVMEM
line in Kconfig for each such driver, or a
depends on NVMEM != m
for drivers that cannot be modules themselves.
Arnd