summaryrefslogtreecommitdiff
path: root/include/linux/of_device.h
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@am.sony.com>2016-10-17 22:17:43 +0300
committerRob Herring <robh@kernel.org>2017-02-09 18:29:37 +0300
commite553f539f2af39db5e3b2c273cc1a22d34be49ad (patch)
tree06c6b0e3afdcd8631316ba92174f4552282593c6 /include/linux/of_device.h
parent0549bde0fcb11a95773e7dc4121738b9e653abf4 (diff)
downloadlinux-e553f539f2af39db5e3b2c273cc1a22d34be49ad.tar.xz
of: make of_device_make_bus_id() static
of_device_make_bus_id() was changed to non-static by commit c66012253800 ("of/device: Make of_device_make_bus_id() usable by other code") more than 6 years ago, but there are no users of it outside of platform.c. Make the function static again. Signed-off-by: Frank Rowand <frank.rowand@am.sony.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'include/linux/of_device.h')
-rw-r--r--include/linux/of_device.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/of_device.h b/include/linux/of_device.h
index cc7dd687a89d..5c2aeed17dd4 100644
--- a/include/linux/of_device.h
+++ b/include/linux/of_device.h
@@ -13,7 +13,6 @@ struct device;
#ifdef CONFIG_OF
extern const struct of_device_id *of_match_device(
const struct of_device_id *matches, const struct device *dev);
-extern void of_device_make_bus_id(struct device *dev);
/**
* of_driver_match_device - Tell if a driver's of_match_table matches a device.