2 * Copyright (c) 2007 Jiri Kosina
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * You should have received a copy of the GNU General Public License along with
10 * this program; if not, write to the Free Software Foundation, Inc.,
11 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
16 #include <uapi/linux/hidraw.h>
23 wait_queue_head_t wait
;
24 struct hid_device
*hid
;
26 struct list_head list
;
29 struct hidraw_report
{
35 struct hidraw_report buffer
[HIDRAW_BUFFER_SIZE
];
38 struct fasync_struct
*fasync
;
39 struct hidraw
*hidraw
;
40 struct list_head node
;
41 struct mutex read_mutex
;
45 int hidraw_init(void);
46 void hidraw_exit(void);
47 int hidraw_report_event(struct hid_device
*, u8
*, int);
48 int hidraw_connect(struct hid_device
*);
49 void hidraw_disconnect(struct hid_device
*);
51 static inline int hidraw_init(void) { return 0; }
52 static inline void hidraw_exit(void) { }
53 static inline int hidraw_report_event(struct hid_device
*hid
, u8
*data
, int len
) { return 0; }
54 static inline int hidraw_connect(struct hid_device
*hid
) { return -1; }
55 static inline void hidraw_disconnect(struct hid_device
*hid
) { }
This page took 0.033089 seconds and 5 git commands to generate.