HID: hid-cypress: validate length of report
[pandora-kernel.git] / drivers / hid / hid-roccat-common.h
1 #ifndef __HID_ROCCAT_COMMON_H
2 #define __HID_ROCCAT_COMMON_H
3
4 /*
5  * Copyright (c) 2011 Stefan Achatz <erazor_de@users.sourceforge.net>
6  */
7
8 /*
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU General Public License as published by the Free
11  * Software Foundation; either version 2 of the License, or (at your option)
12  * any later version.
13  */
14
15 #include <linux/usb.h>
16 #include <linux/types.h>
17
18 int roccat_common_receive(struct usb_device *usb_dev, uint report_id,
19                 void *data, uint size);
20 int roccat_common_send(struct usb_device *usb_dev, uint report_id,
21                 void const *data, uint size);
22
23 #endif