summaryrefslogtreecommitdiff
path: root/drivers/base/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/bus.c')
-rw-r--r--drivers/base/bus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index 4ec6dbab73be..4425f962bf51 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -897,11 +897,10 @@ struct kset *bus_get_kset(struct bus_type *bus)
}
EXPORT_SYMBOL_GPL(bus_get_kset);
-struct klist *bus_get_device_klist(struct bus_type *bus)
+static struct klist *bus_get_device_klist(struct bus_type *bus)
{
return &bus->p->klist_devices;
}
-EXPORT_SYMBOL_GPL(bus_get_device_klist);
/*
* Yes, this forcibly breaks the klist abstraction temporarily. It