mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 21:33:00 +01:00
Now that the driver core allows for struct class to be in read-only memory, making all 'class' structures to be declared at build time placing them into read-only memory, instead of having to be dynamically allocated at load time. Cc: Stefan Achatz <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Benjamin Tissoires <[email protected]> Cc: [email protected] Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ivan Orlov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
27 lines
490 B
C
27 lines
490 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
#ifndef __HID_ROCCAT_H
|
|
#define __HID_ROCCAT_H
|
|
|
|
/*
|
|
* Copyright (c) 2010 Stefan Achatz <[email protected]>
|
|
*/
|
|
|
|
/*
|
|
*/
|
|
|
|
#include <linux/hid.h>
|
|
#include <linux/types.h>
|
|
|
|
#define ROCCATIOCGREPSIZE _IOR('H', 0xf1, int)
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
int roccat_connect(const struct class *klass, struct hid_device *hid,
|
|
int report_size);
|
|
void roccat_disconnect(int minor);
|
|
int roccat_report_event(int minor, u8 const *data);
|
|
|
|
#endif
|
|
|
|
#endif
|