[PATCH 15/47] Fix compilation breakage when CONFIG_USB_HIDDEV not defined

Vojtech Pavlik
2004-07-29T15:06:52Z

ChangeSet@1.1722.106.1, 2004-06-04 07:18:00+02:00, wli@holomorphy.com
input: Move CONFIG_USB_HIDDEV a little lower in hiddev.h, to fix
compilation breakage when it is not defined.

Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>

hiddev.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

===================================================================

diff -Nru a/include/linux/hiddev.h b/include/linux/hiddev.h
--- a/include/linux/hiddev.h Thu Jul 29 14:41:17 2004
+++ b/include/linux/hiddev.h Thu Jul 29 14:41:17 2004
@@ -213,12 +213,12 @@
* In-kernel definitions.
*/

-#ifdef CONFIG_USB_HIDDEV
struct hid_device;
struct hid_usage;
struct hid_field;
struct hid_report;

+#ifdef CONFIG_USB_HIDDEV
int hiddev_connect(struct hid_device *);
void hiddev_disconnect(struct hid_device *);
void hiddev_hid_event(struct hid_device *hid, struct hid_field *field,