From: Marek BehĂșn Date: Wed, 11 Dec 2019 14:47:11 +0000 (+0100) Subject: bus: moxtet: declare moxtet_bus_type as static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=54dd5fcb7cc0a9c6dc5af0e28d4dbef651b8d165;p=linux.git bus: moxtet: declare moxtet_bus_type as static This symbol is not meant to be used from elsewhere. Cc: Ben Dooks Cc: Christoph Hellwig Cc: Gregory CLEMENT Signed-off-by: Marek BehĂșn Signed-off-by: Gregory CLEMENT --- diff --git a/drivers/bus/moxtet.c b/drivers/bus/moxtet.c index 36cf13eee6b8b..15fa293819a03 100644 --- a/drivers/bus/moxtet.c +++ b/drivers/bus/moxtet.c @@ -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)