Re: [PATCH] bus: moxtet: declare moxtet_bus_type

From: Ben Dooks
Date: Wed Oct 16 2019 - 03:34:10 EST


On 15/10/2019 17:32, Christoph Hellwig wrote:
On Tue, Oct 15, 2019 at 01:25:35PM +0100, Ben Dooks wrote:
The moxtet_bus_type object is exported from the bus
driver, but not declared. Add a declaration for use
and to silence the following warning:

The symbol can be marked static instead.

Then it would have to be un-exported as it's listed as
EXPORT_SYMBOL_GPL(moxtet_bus_type);



--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html