Messages in this thread | | | Subject | Re: [PATCH 03/11] platform: make support for early platform devices conditional | From | Randy Dunlap <> | Date | Tue, 24 Apr 2018 12:31:50 -0700 |
| |
On 04/24/2018 10:30 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bgolaszewski@baylibre.com> > > Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> > --- > arch/sh/Kconfig | 1 + > drivers/base/Kconfig | 4 ++++ > drivers/base/platform.c | 3 +++ > include/linux/platform_device.h | 32 ++++++++++++++++++++++++++++++++ > 4 files changed, 40 insertions(+)
> index 29b0eb452b3a..37de5e1d6217 100644 > --- a/drivers/base/Kconfig > +++ b/drivers/base/Kconfig > @@ -205,6 +205,10 @@ config DEBUG_TEST_DRIVER_REMOVE > unusable. You should say N here unless you are explicitly looking to > test this functionality. > > +config EARLY_PLATFORM_DEVICES > + bool > + default n
The default value is already 'n', so we usually ask people to omit that value. OTOH, you could combine those 2 lines into:
def_bool n
> + > source "drivers/base/test/Kconfig" > > config SYS_HYPERVISOR
-- ~Randy
| |