History

Merge branch 'icc-get-by-index' into icc-next

This is an immutable branch shared with the OPP tree. It contains also the patches to convert the interconnect framework from tristate to bool after Greg agreed with that. This will make the integration between the OPP layer and interconnect much easier. * icc-get-by-index: interconnect: Add of_icc_get_by_index() helper function interconnect: Disallow interconnect core to be built as a module interconnect: Remove unused module exit code from core

Georgi Djakov committed 6 years ago

Commit b35da2e2 parents 7d374b2 8fd35743 files · +62 −25Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/interconnect.h+6−0
@@ -29,6 +29,7 @@ struct icc_path *icc_get(struct device *dev, const int src_id, · 28 unmodified lines
29 const int dst_id);29 const int dst_id);
30struct icc_path *of_icc_get(struct device *dev, const char *name);30struct icc_path *of_icc_get(struct device *dev, const char *name);
31struct icc_path *devm_of_icc_get(struct device *dev, const char *name);31struct icc_path *devm_of_icc_get(struct device *dev, const char *name);
32struct icc_path *of_icc_get_by_index(struct device *dev, int idx);
32void icc_put(struct icc_path *path);33void icc_put(struct icc_path *path);
33int icc_enable(struct icc_path *path);34int icc_enable(struct icc_path *path);
34int icc_disable(struct icc_path *path);35int icc_disable(struct icc_path *path);
@@ -55,6 +56,11 @@ static inline struct icc_path *devm_of_icc_get(struct device *dev, · 20 unmodified lines
55 return NULL;56 return NULL;
56}57}
57 58
59static inline struct icc_path *of_icc_get_by_index(struct device *dev, int idx)
60{
61 return NULL;
62}
63
58static inline void icc_put(struct icc_path *path)64static inline void icc_put(struct icc_path *path)
59{65{
60}66}