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
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -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); |
| 30 | struct icc_path *of_icc_get(struct device *dev, const char *name); | 30 | struct icc_path *of_icc_get(struct device *dev, const char *name); |
| 31 | struct icc_path *devm_of_icc_get(struct device *dev, const char *name); | 31 | struct icc_path *devm_of_icc_get(struct device *dev, const char *name); |
| 32 | struct icc_path *of_icc_get_by_index(struct device *dev, int idx); | ||
| 32 | void icc_put(struct icc_path *path); | 33 | void icc_put(struct icc_path *path); |
| 33 | int icc_enable(struct icc_path *path); | 34 | int icc_enable(struct icc_path *path); |
| 34 | int icc_disable(struct icc_path *path); | 35 | int 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 | ||
| 59 | static inline struct icc_path *of_icc_get_by_index(struct device *dev, int idx) | ||
| 60 | { | ||
| 61 | return NULL; | ||
| 62 | } | ||
| 63 | |||
| 58 | static inline void icc_put(struct icc_path *path) | 64 | static inline void icc_put(struct icc_path *path) |
| 59 | { | 65 | { |
| 60 | } | 66 | } |