linux/samples/rpmsg/rpmsg_client_sample.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Remote processor messaging - sample client driver
 *
 * Copyright (C) 2011 Texas Instruments, Inc.
 * Copyright (C) 2011 Google, Inc.
 *
 * Ohad Ben-Cohen <[email protected]>
 * Brian Swetland <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/rpmsg.h>

#define MSG

static int count =;
module_param(count, int, 0644);

struct instance_data {};

static int rpmsg_sample_cb(struct rpmsg_device *rpdev, void *data, int len,
						void *priv, u32 src)
{}

static int rpmsg_sample_probe(struct rpmsg_device *rpdev)
{}

static void rpmsg_sample_remove(struct rpmsg_device *rpdev)
{}

static struct rpmsg_device_id rpmsg_driver_sample_id_table[] =;
MODULE_DEVICE_TABLE();

static struct rpmsg_driver rpmsg_sample_client =;
module_rpmsg_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();