[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZlVkgf_XCZcZd388@infradead.org>
Date: Mon, 27 May 2024 21:58:41 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Guanbing Huang <albanhuang@...look.com>,
Guanbing Huang <albanhuang@...cent.com>,
Woody Suwalski <terraluna977@...il.com>
Subject: Re: [PATCH v1 1/1] PNP: Export pnp_bus_type for modules
On Mon, May 27, 2024 at 11:24:24PM +0300, Andy Shevchenko wrote:
> Since we have dev_is_pnp() macro that utilises the address of pnp_bus_type
> variable, the users, which can be compiled as modules, will be failed to
> build. Export the variable to the modules to prevent build breakage.
NAK. Please move dev_is_pnp out of line and export it (as
EXPORT_SYMBOL_GPL), please. bus types should be private unless we have
really good reasons for them not to be private.
Powered by blists - more mailing lists