diff options
| -rw-r--r-- | include/linux/rpmsg/qcom_smd.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/rpmsg/qcom_smd.h b/include/linux/rpmsg/qcom_smd.h index e674b2e3074b..8ec8b6439b25 100644 --- a/include/linux/rpmsg/qcom_smd.h +++ b/include/linux/rpmsg/qcom_smd.h | |||
| @@ -18,14 +18,12 @@ static inline struct qcom_smd_edge * | |||
| 18 | qcom_smd_register_edge(struct device *parent, | 18 | qcom_smd_register_edge(struct device *parent, |
| 19 | struct device_node *node) | 19 | struct device_node *node) |
| 20 | { | 20 | { |
| 21 | return ERR_PTR(-ENXIO); | 21 | return NULL; |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | static inline int qcom_smd_unregister_edge(struct qcom_smd_edge *edge) | 24 | static inline int qcom_smd_unregister_edge(struct qcom_smd_edge *edge) |
| 25 | { | 25 | { |
| 26 | /* This shouldn't be possible */ | 26 | return 0; |
| 27 | WARN_ON(1); | ||
| 28 | return -ENXIO; | ||
| 29 | } | 27 | } |
| 30 | 28 | ||
| 31 | #endif | 29 | #endif |
