[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024010554-unreached-colony-96dd@gregkh>
Date: Fri, 5 Jan 2024 16:05:18 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Mark Brown <broonie@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org
Subject: Re: [PATCH] spi: make spi_bus_type const
On Fri, Jan 05, 2024 at 02:55:01PM +0000, Mark Brown wrote:
> On Fri, Jan 05, 2024 at 11:32:50AM +0100, Greg Kroah-Hartman wrote:
> > Now that the driver core can properly handle constant struct bus_type,
> > move the spi_bus_type variable to be a constant structure as well,
> > placing it into read-only memory which can not be modified at runtime.
>
> Whatever makes the driver core able to handle this doesn't seem to be in
> mainline yet - what's the story there?
Odd, what errors are you seeing when you build? I have had to fix up a
few subsys_* calls for this type of thing, but I don't see spi_bus_type
being used in those that I saw in my local tree. Did I miss something
else?
Maybe just wait for after 6.8-rc1, it builds properly here locally :)
thanks,
greg k-h
Powered by blists - more mailing lists