diff options
author | Marek BehĂșn | 2019-12-11 15:47:11 +0100 |
---|---|---|
committer | Gregory CLEMENT | 2020-01-08 10:35:29 +0100 |
commit | 54dd5fcb7cc0a9c6dc5af0e28d4dbef651b8d165 (patch) | |
tree | 6be557b9dc35a412a1472f8a528b9fb1ef960fd9 /drivers/bus | |
parent | e8acad4d839589c88ee27669bf56ab2ae7340007 (diff) |
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: Marek BehĂșn <marek.behun@nic.cz>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'drivers/bus')
-rw-r--r-- | drivers/bus/moxtet.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bus/moxtet.c b/drivers/bus/moxtet.c index 36cf13eee6b8..15fa293819a0 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) |