bus: moxtet: declare moxtet_bus_type as static
authorMarek Behún <marek.behun@nic.cz>
Wed, 11 Dec 2019 14:47:11 +0000 (15:47 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 8 Jan 2020 09:35:29 +0000 (10:35 +0100)
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: Marek Behún <marek.behun@nic.cz>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
drivers/bus/moxtet.c

index 36cf13eee6b8ba9af71747cc6bd2e0e7eab0a01b..15fa293819a03124355d6163b7b393de75f553f8 100644 (file)
@@ -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)