#include <linux/module.h>
#include <linux/device.h>
#include <linux/stm.h>
#include "stm.h"
static ssize_t basic_write(struct stm_data *data, struct stm_output *output,
unsigned int chan, const char *buf, size_t count,
struct stm_source_data *source)
{ … }
static const struct stm_protocol_driver basic_pdrv = …;
static int basic_stm_init(void)
{ … }
static void basic_stm_exit(void)
{ … }
module_init(…) …;
module_exit(basic_stm_exit);
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;