[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <e5926d65-5fc9-4ab6-8b04-fdb6ba618a51@app.fastmail.com>
Date: Tue, 19 Dec 2023 19:27:19 +0000
From: "Arnd Bergmann" <arnd@...db.de>
To: "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
linux-arm-kernel@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, "Russell King" <linux@...linux.org.uk>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
"Randy Dunlap" <rdunlap@...radead.org>
Subject: Re: [PATCH] [ARM] locomo: make locomo_bus_type constant and static
On Tue, Dec 19, 2023, at 18:33, Greg Kroah-Hartman wrote:
> Now that the driver core can properly handle constant struct bus_type,
> move the locomo_bus_type variable to be a constant structure as well,
> placing it into read-only memory which can not be modified at runtime.
>
> It's also never used outside of arch/arm/common/locomo.c so make it
> static and don't export it as no one is using it.
Reviewed-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists