Re: [PATCH 8/8] soc: sunxi: mbus: don't access of_root directly

From: Bartosz Golaszewski

Date: Tue Jan 20 2026 - 03:08:33 EST


On Tue, Jan 20, 2026 at 9:05 AM Chen-Yu Tsai <wens@xxxxxxxxxx> wrote:
>
> On Mon, Jan 19, 2026 at 6:40 PM Bartosz Golaszewski
> <bartosz.golaszewski@xxxxxxxxxxxxxxxx> wrote:
> >
> > Don't access of_root directly as it reduces the build test coverage for
> > this driver with COMPILE_TEST=y and OF=n. Use existing helper functions
> > to retrieve the relevant information.
>
> I was somewhat expecting a matching change to the Kconfig to add
> COMPILE_TEST to the "depends on" line.
>
> But maybe the case is already hit with ARM=y && USE_OF=n ?
>

Yeah, that would be the next step but there may be more weird
dependencies hidden in here so let's do it separately after this is
addressed or we'll get stuck looking and buildbot reports.

Bart