diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 20:59:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 20:59:04 -0400 |
commit | d71fc239b6915a8b750e9a447311029ff45b6580 (patch) | |
tree | eba70a9d2a9c5c60050a47bff317592cea326660 /include | |
parent | 519f526d391b0ef775aeb04c4b6f632ea6b3ee50 (diff) | |
parent | c6e59bdac940e63cfabd40a89d342eb470b009b9 (diff) |
Merge tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull late ARM SoC updates from Kevin Hilman:
"This is a collection of a few late fixes and other misc stuff that had
dependencies on things being merged from other trees.
The bulk of the changes are for samsung/exynos SoCs for some changes
that needed a few minor reworks so ended up a bit late. The others
are mainly for qcom SoCs: a couple fixes and some DTS updates"
* tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (37 commits)
ARM: multi_v7_defconfig: Enable PBIAS regulator
soc: qcom: smd: Correct fBLOCKREADINTR handling
soc: qcom: smd: Use correct remote processor ID
soc: qcom: smem: Fix errant private access
ARM: dts: qcom: msm8974-sony-xperia-honami: Use stdout-path
ARM: dts: qcom: msm8960-cdp: Use stdout-path
ARM: dts: qcom: msm8660-surf: Use stdout-path
ARM: dts: qcom: ipq8064-ap148: Use stdout-path
ARM: dts: qcom: apq8084-mtp: Use stdout-path
ARM: dts: qcom: apq8084-ifc6540: Use stdout-path
ARM: dts: qcom: apq8074-dragonboard: Use stdout-path
ARM: dts: qcom: apq8064-ifc6410: Use stdout-path
ARM: dts: qcom: apq8064-cm-qs600: Use stdout-path
ARM: dts: qcom: Label serial nodes for aliasing and stdout-path
reset: ath79: Fix missing spin_lock_init
reset: Add (devm_)reset_control_get stub functions
ARM: EXYNOS: switch to using generic cpufreq driver for exynos4x12
cpufreq: exynos: Remove unselectable rule for arm-exynos-cpufreq.o
ARM: dts: add iommu property to JPEG device for exynos4
ARM: dts: enable SPI1 for exynos4412-odroidu3
...
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/reset.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/reset.h b/include/linux/reset.h index da5602bd77d7..7f65f9cff951 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h | |||
@@ -74,6 +74,20 @@ static inline int device_reset_optional(struct device *dev) | |||
74 | return -ENOSYS; | 74 | return -ENOSYS; |
75 | } | 75 | } |
76 | 76 | ||
77 | static inline struct reset_control *__must_check reset_control_get( | ||
78 | struct device *dev, const char *id) | ||
79 | { | ||
80 | WARN_ON(1); | ||
81 | return ERR_PTR(-EINVAL); | ||
82 | } | ||
83 | |||
84 | static inline struct reset_control *__must_check devm_reset_control_get( | ||
85 | struct device *dev, const char *id) | ||
86 | { | ||
87 | WARN_ON(1); | ||
88 | return ERR_PTR(-EINVAL); | ||
89 | } | ||
90 | |||
77 | static inline struct reset_control *reset_control_get_optional( | 91 | static inline struct reset_control *reset_control_get_optional( |
78 | struct device *dev, const char *id) | 92 | struct device *dev, const char *id) |
79 | { | 93 | { |