linux/drivers/input/touchscreen/tsc40.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * TSC-40 serial touchscreen driver. It should be compatible with
 * TSC-10 and 25.
 *
 * Author: Sebastian Andrzej Siewior <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/serio.h>

#define PACKET_LENGTH
struct tsc_ser {};

static void tsc_process_data(struct tsc_ser *ptsc)
{}

static irqreturn_t tsc_interrupt(struct serio *serio,
		unsigned char data, unsigned int flags)
{}

static int tsc_connect(struct serio *serio, struct serio_driver *drv)
{}

static void tsc_disconnect(struct serio *serio)
{}

static const struct serio_device_id tsc_serio_ids[] =;
MODULE_DEVICE_TABLE(serio, tsc_serio_ids);

#define DRIVER_DESC

static struct serio_driver tsc_drv =;

module_serio_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();