summaryrefslogtreecommitdiff
path: root/include/linux/of_platform.h
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2024-12-04 22:48:05 +0300
committerRob Herring (Arm) <robh@kernel.org>2024-12-10 19:50:26 +0300
commit3c48780d48df029cf9d5f42b8971663e6fb975ae (patch)
treed80fe85f2f0b68d31105d9a20147e54a4cde7ad8 /include/linux/of_platform.h
parent16ef9c9de0c48b836c5996c6e9792cb4f658c8f1 (diff)
downloadlinux-3c48780d48df029cf9d5f42b8971663e6fb975ae.tar.xz
of: Hide of_default_bus_match_table[]
This isn't used outside this file. Hide the array in the C file. Signed-off-by: Stephen Boyd <swboyd@chromium.org> Acked-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20241204194806.2665589-1-swboyd@chromium.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'include/linux/of_platform.h')
-rw-r--r--include/linux/of_platform.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h
index a2ff1ad48f7f..17471ef8e092 100644
--- a/include/linux/of_platform.h
+++ b/include/linux/of_platform.h
@@ -47,8 +47,6 @@ struct of_dev_auxdata {
{ .compatible = _compat, .phys_addr = _phys, .name = _name, \
.platform_data = _pdata }
-extern const struct of_device_id of_default_bus_match_table[];
-
/* Platform drivers register/unregister */
extern struct platform_device *of_device_alloc(struct device_node *np,
const char *bus_id,