#include <linux/init.h>
#include <linux/module.h>
#include <linux/hid.h>
#include "hid-ids.h"
#define MI_SILENT_MOUSE_ORIG_RDESC_LENGTH …
static __u8 mi_silent_mouse_rdesc_fixed[] = …;
static __u8 *xiaomi_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{ … }
static const struct hid_device_id xiaomi_devices[] = …;
MODULE_DEVICE_TABLE(hid, xiaomi_devices);
static struct hid_driver xiaomi_driver = …;
module_hid_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;