Re: [PATCH v4 1/2] gpiolib: move all includes to the top of gpio/consumer.h
Bartosz Golaszewski <[email protected]> Tue, 18 Feb 2025 11:26:43 +0100
| Newsgroups | dev.linux.lists.timestamp,org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Bartosz Golaszewski <[email protected]> On Mon, 17 Feb 2025 11:39:21 +0100, Bartosz Golaszewski wrote: > We have several conditional includes depending on !CONFIG_GPIOLIB. This > is supposed to reduce compilation time with CONFIG_GPIOLIB=y but in > practice there's no difference on modern machines. It makes adding new > stubs that depend on more than just GPIOLIB harder so move them all to > the top, unduplicate them and replace asm/ with preferred linux/ > alternatives. > > [...] Applied, thanks! [1/2] gpiolib: move all includes to the top of gpio/consumer.h commit: dea69f2d1cc8d9ecdc72ba350d10a1e71940ef18 [2/2] gpiolib: don't build HTE code with CONFIG_HTE disabled commit: 63cdf6241ac7edd94cb4cd9a8f1ba2c3c61ed219 Best regards, -- Bartosz Golaszewski <[email protected]>