#include <linux/device.h>
#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
#define GEMBIRD_START_FAULTY_RDESC …
static const __u8 gembird_jpd_faulty_rdesc[] = …;
static const __u8 gembird_jpd_fixed_rdesc[] = …;
static __u8 *gembird_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{ … }
static const struct hid_device_id gembird_devices[] = …;
MODULE_DEVICE_TABLE(hid, gembird_devices);
static struct hid_driver gembird_driver = …;
module_hid_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;