patch-2.4.20 linux-2.4.20/include/linux/hiddev.h

Next file: linux-2.4.20/include/linux/highmem.h
Previous file: linux-2.4.20/include/linux/genhd.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/linux/hiddev.h linux-2.4.20/include/linux/hiddev.h
@@ -183,7 +183,7 @@
 int __init hiddev_init(void);
 void __exit hiddev_exit(void);
 #else
-static inline void *hiddev_connect(struct hid_device *hid) { return NULL; }
+static inline int hiddev_connect(struct hid_device *hid) { return -1; }
 static inline void hiddev_disconnect(struct hid_device *hid) { }
 static inline void hiddev_hid_event(struct hid_device *hid, unsigned int usage, int value) { }
 static inline int hiddev_init(void) { return 0; }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)