diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-02 19:13:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-02 19:13:34 -0400 |
commit | ff933a0817f95efbeb97bec5ca609a13f8aed686 (patch) | |
tree | 288105c83273473f1e1de6c9fdb3b0180864ec40 /include | |
parent | 80081ec309c83352f6f4a1040a4496061eec7535 (diff) | |
parent | da98f44f27d81d7fe9a41f69af4fe08c18d13b56 (diff) |
Merge tag 'fixes-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc into next
Pull ARM SoC low-priority fixes from Olof Johansson:
"A small selection of fixes coming in late during the release cycle and
not being critical enough for 3.15 inclusion"
* tag 'fixes-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
ARM: shmobile: armadillo800eva: fixup HDMI sound flags setting
ARM: msm: Silence readb/writeb warnings due to missing IOMEM()
ARM: dts: am43xx: fix starting offset of NAND.filesystem MTD partition
ARM: dts: am335x-boneblack: remove use of ti,vcc-aux-disable-is-sleep
ARM: OMAP2+: free use_gptimer_clksrc variable after boot
ARM: OMAP5: Redo THUMB mode switch on secondary CPU
ARM: dts: AM4372: add l3-noc information
ARM: dts: DRA7: Use dra7-l3-noc instead of omap4-l3-noc
reset: Add of_reset_control_get to reset.h
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/reset.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/reset.h b/include/linux/reset.h index c0eda5023d74..349f150ae12c 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define _LINUX_RESET_H_ | 2 | #define _LINUX_RESET_H_ |
3 | 3 | ||
4 | struct device; | 4 | struct device; |
5 | struct device_node; | ||
5 | struct reset_control; | 6 | struct reset_control; |
6 | 7 | ||
7 | #ifdef CONFIG_RESET_CONTROLLER | 8 | #ifdef CONFIG_RESET_CONTROLLER |
@@ -33,6 +34,9 @@ static inline struct reset_control *devm_reset_control_get_optional( | |||
33 | return devm_reset_control_get(dev, id); | 34 | return devm_reset_control_get(dev, id); |
34 | } | 35 | } |
35 | 36 | ||
37 | struct reset_control *of_reset_control_get(struct device_node *node, | ||
38 | const char *id); | ||
39 | |||
36 | #else | 40 | #else |
37 | 41 | ||
38 | static inline int reset_control_reset(struct reset_control *rstc) | 42 | static inline int reset_control_reset(struct reset_control *rstc) |
@@ -75,6 +79,12 @@ static inline struct reset_control *devm_reset_control_get_optional( | |||
75 | return ERR_PTR(-ENOSYS); | 79 | return ERR_PTR(-ENOSYS); |
76 | } | 80 | } |
77 | 81 | ||
82 | static inline struct reset_control *of_reset_control_get( | ||
83 | struct device_node *node, const char *id) | ||
84 | { | ||
85 | return ERR_PTR(-ENOSYS); | ||
86 | } | ||
87 | |||
78 | #endif /* CONFIG_RESET_CONTROLLER */ | 88 | #endif /* CONFIG_RESET_CONTROLLER */ |
79 | 89 | ||
80 | #endif | 90 | #endif |