On Wed, 19 Jul 2023 21:28:18 +0200, Arnd Bergmann wrote: > The added HAS_IOPORT dependency might not actually be necessary as Geert > points out, but the driver is also only used on one architecture. Sparc > is also a special case here since it converts port numbers into virtual > addresses rather than having them mapped into a particular part of the > __iomem address space, so the difference is actually not important here. > > Add a dependency on sparc, but allow compile-testing otherwise, to > make this clearer without anyone having to spend much time modernizing > the driver beyond that. > > [...] Applied, thanks! [1/1] rtc: bq4802: add sparc dependency commit: 766c3f8a092b4d42abd68ee0338349838430a5ee Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com