#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/rpmsg.h>
#include "qrtr.h"
struct qrtr_smd_dev { … };
static int qcom_smd_qrtr_callback(struct rpmsg_device *rpdev,
void *data, int len, void *priv, u32 addr)
{ … }
static int qcom_smd_qrtr_send(struct qrtr_endpoint *ep, struct sk_buff *skb)
{ … }
static int qcom_smd_qrtr_probe(struct rpmsg_device *rpdev)
{ … }
static void qcom_smd_qrtr_remove(struct rpmsg_device *rpdev)
{ … }
static const struct rpmsg_device_id qcom_smd_qrtr_smd_match[] = …;
static struct rpmsg_driver qcom_smd_qrtr_driver = …;
module_rpmsg_driver(…) …;
MODULE_ALIAS(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;