#include <linux/input.h>
#include <linux/slab.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
#define CONTROLLER_NAME_BASE …
static int retrode_input_configured(struct hid_device *hdev,
struct hid_input *hi)
{ … }
static int retrode_probe(struct hid_device *hdev,
const struct hid_device_id *id)
{ … }
static const struct hid_device_id retrode_devices[] = …;
MODULE_DEVICE_TABLE(hid, retrode_devices);
static struct hid_driver retrode_driver = …;
module_hid_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;