lkml.org 
[lkml]   [2018]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 03/11] platform: make support for early platform devices conditional
From
Date
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

\
 
 \ /
  Last update: 2018-04-24 21:32    [W:0.149 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site