summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Dai <daidavid1@codeaurora.org>2016-04-19 16:32:35 -0700
committerJeevan Shriram <jshriram@codeaurora.org>2016-04-22 15:06:40 -0700
commit30add65348799eb8f3b1b438c70e915c1dce6755 (patch)
tree12c25f98208225ca6c04890eaba8febbdead9be1 /include/linux
parent866cf4aab970ff48a8d8e5f4f173da7373fff0a8 (diff)
soc: qcom: msm_bus: remove legacy msm_bus support
Remove unused legacy bus code and APIs CRs-Fixed: 1006336 Change-Id: I15811b787b54004e1aaba859e4c911be8f9eb285 Signed-off-by: David Dai <daidavid1@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/msm_bus_rules.h30
1 files changed, 1 insertions, 29 deletions
diff --git a/include/linux/msm_bus_rules.h b/include/linux/msm_bus_rules.h
index 6bcbca081fe8..1cc83faa6111 100644
--- a/include/linux/msm_bus_rules.h
+++ b/include/linux/msm_bus_rules.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -50,7 +50,6 @@ struct bus_rule_type {
void *client_data;
};
-#if (defined(CONFIG_QCOM_BUS_TOPOLOGY_ADHOC))
void msm_rule_register(int num_rules, struct bus_rule_type *rule,
struct notifier_block *nb);
void msm_rule_unregister(int num_rules, struct bus_rule_type *rule,
@@ -61,31 +60,4 @@ bool msm_rule_update(struct bus_rule_type *old_rule,
void msm_rule_evaluate_rules(int node);
void print_rules_buf(char *buf, int count);
bool msm_rule_are_rules_registered(void);
-#else
-static inline void msm_rule_register(int num_rules, struct bus_rule_type *rule,
- struct notifier_block *nb)
-{
-}
-static inline void msm_rule_unregister(int num_rules,
- struct bus_rule_type *rule,
- struct notifier_block *nb)
-{
-}
-static inline void print_rules_buf(char *buf, int count)
-{
-}
-static inline bool msm_rule_are_rules_registered(void)
-{
- return false;
-}
-static inline bool msm_rule_update(struct bus_rule_type *old_rule,
- struct bus_rule_type *new_rule,
- struct notifier_block *nb)
-{
- return false;
-}
-static inline void msm_rule_evaluate_rules(int node)
-{
-}
-#endif /* defined(CONFIG_BUS_TOPOLOGY_ADHOC) */
#endif /* _ARCH_ARM_MACH_MSM_BUS_RULES_H */