[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZlWEOnkPhpyTgnKG@infradead.org>
Date: Tue, 28 May 2024 00:14:02 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Christoph Hellwig <hch@...radead.org>,
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 Tue, May 28, 2024 at 10:12:31AM +0300, Andy Shevchenko wrote:
> > 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.
>
> FWIW, it's not private, it's just not exported to the modules. Are you
> suggesting to hide the bus type completely to make it static? If so,
> this is out of scope of this fix.
Not exporting it is the most important bit. Making it private would
be even better of course.
Powered by blists - more mailing lists