Commit 54dd5fcb authored by Marek Behún's avatar Marek Behún Committed by Gregory CLEMENT
Browse files

bus: moxtet: declare moxtet_bus_type as static



This symbol is not meant to be used from elsewhere.

Cc: Ben Dooks <ben.dooks@codethink.co.uk>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent e8acad4d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -102,12 +102,11 @@ static int moxtet_match(struct device *dev, struct device_driver *drv)
	return 0;
}

struct bus_type moxtet_bus_type = {
static struct bus_type moxtet_bus_type = {
	.name		= "moxtet",
	.dev_groups	= moxtet_dev_groups,
	.match		= moxtet_match,
};
EXPORT_SYMBOL_GPL(moxtet_bus_type);

int __moxtet_register_driver(struct module *owner,
			     struct moxtet_driver *mdrv)