#include <linux/hid.h>
#include <linux/module.h>
#include "hid-ids.h"
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
static __u8 *glorious_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int *rsize)
{ … }
static void glorious_update_name(struct hid_device *hdev)
{ … }
static int glorious_probe(struct hid_device *hdev,
const struct hid_device_id *id)
{ … }
static const struct hid_device_id glorious_devices[] = …;
MODULE_DEVICE_TABLE(hid, glorious_devices);
static struct hid_driver glorious_driver = …;
module_hid_driver(…) …;
MODULE_LICENSE(…) …;