[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aIDunk2sw4DSDgV3@smile.fi.intel.com>
Date: Wed, 23 Jul 2025 17:15:58 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, Arnd Bergmann <arnd@...db.de>,
Peng Fan <peng.fan@....com>, Lee Jones <lee@...nel.org>,
Koichiro Den <koichiro.den@...onical.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Alexander Sverdlin <alexander.sverdlin@...il.com>,
Uwe Kleine-König <ukleinek@...nel.org>,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpiolib: make legacy interfaces optional
On Tue, Jul 22, 2025 at 05:35:43PM +0200, Arnd Bergmann wrote:
>
> The traditional interfaces are only used on a small number of ancient
> boards. Make these optional now so they can be disabled by default.
...
> +#ifdef CONFIG_GPIOLIB
> +#include <linux/gpio/consumer.h>
> +#endif
> #ifdef CONFIG_GPIOLIB
> -
> -#include <linux/gpio/consumer.h>
> -
Why is the above needed to be changed?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists