#include <linux/mhi.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <net/sock.h>
#include "qrtr.h"
struct qrtr_mhi_dev { … };
static void qcom_mhi_qrtr_dl_callback(struct mhi_device *mhi_dev,
struct mhi_result *mhi_res)
{ … }
static void qcom_mhi_qrtr_ul_callback(struct mhi_device *mhi_dev,
struct mhi_result *mhi_res)
{ … }
static int qcom_mhi_qrtr_send(struct qrtr_endpoint *ep, struct sk_buff *skb)
{ … }
static int qcom_mhi_qrtr_probe(struct mhi_device *mhi_dev,
const struct mhi_device_id *id)
{ … }
static void qcom_mhi_qrtr_remove(struct mhi_device *mhi_dev)
{ … }
static const struct mhi_device_id qcom_mhi_qrtr_id_table[] = …;
MODULE_DEVICE_TABLE(mhi, qcom_mhi_qrtr_id_table);
static int __maybe_unused qcom_mhi_qrtr_pm_suspend_late(struct device *dev)
{ … }
static int __maybe_unused qcom_mhi_qrtr_pm_resume_early(struct device *dev)
{ … }
static const struct dev_pm_ops qcom_mhi_qrtr_pm_ops = …;
static struct mhi_driver qcom_mhi_qrtr_driver = …;
module_mhi_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;