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

From: Vojtech Pavlik
Date: Thu Jul 29 2004 - 13:00:36 EST


You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input

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

ChangeSet@xxxxxxxxxxxx, 2004-06-04 07:18:00+02:00, wli@xxxxxxxxxxxxxx
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@xxxxxxx>


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,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/