]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/rpmsg/qcom_smd.h
regulator: ab8500: Remove SYSCLKREQ from enum ab8505_regulator_id
[mirror_ubuntu-bionic-kernel.git] / include / linux / rpmsg / qcom_smd.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
8fc94723
BA
2
3#ifndef _LINUX_RPMSG_QCOM_SMD_H
4#define _LINUX_RPMSG_QCOM_SMD_H
5
6#include <linux/device.h>
7
8struct qcom_smd_edge;
9
395a4805 10#if IS_ENABLED(CONFIG_RPMSG_QCOM_SMD)
8fc94723
BA
11
12struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent,
13 struct device_node *node);
14int qcom_smd_unregister_edge(struct qcom_smd_edge *edge);
15
16#else
17
18static inline struct qcom_smd_edge *
19qcom_smd_register_edge(struct device *parent,
20 struct device_node *node)
21{
88e30752 22 return NULL;
8fc94723
BA
23}
24
25static inline int qcom_smd_unregister_edge(struct qcom_smd_edge *edge)
26{
88e30752 27 return 0;
8fc94723
BA
28}
29
30#endif
31
32#endif