Commit 8f93db5b authored by William Lee Irwin III's avatar William Lee Irwin III Committed by Vojtech Pavlik

input: Move CONFIG_USB_HIDDEV a little lower in hiddev.h, to fix

       compilation breakage when it is not defined.
Signed-off-by: default avatarVojtech Pavlik <vojtech@suse.cz>
parent 82fc79cb
...@@ -213,12 +213,12 @@ struct hiddev_usage_ref_multi { ...@@ -213,12 +213,12 @@ struct hiddev_usage_ref_multi {
* In-kernel definitions. * In-kernel definitions.
*/ */
#ifdef CONFIG_USB_HIDDEV
struct hid_device; struct hid_device;
struct hid_usage; struct hid_usage;
struct hid_field; struct hid_field;
struct hid_report; struct hid_report;
#ifdef CONFIG_USB_HIDDEV
int hiddev_connect(struct hid_device *); int hiddev_connect(struct hid_device *);
void hiddev_disconnect(struct hid_device *); void hiddev_disconnect(struct hid_device *);
void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, void hiddev_hid_event(struct hid_device *hid, struct hid_field *field,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment