Re: 2.6.7-rc2-mm1

William Lee Irwin III
2004-06-04T00:11:23Z

On Wed, Jun 02, 2004 at 06:26:54AM -0700, William Lee Irwin III wrote:
>> Fix warnings about various structs declared inside parameter lists and so
>> on seen while compiling compat_ioctl.c.

On Thu, Jun 03, 2004 at 04:38:28PM -0700, Greg KH wrote:
> Doesn't apply to my, or a clean -rc2 tree :(
> Probably needs to be sent to Vojtech and put in his tree.
> thanks,
> greg k-h

Vojtech, gregkh referred me to you for this change. Some compilation
failures are caused by some changes to hiddev.h or some surrounding
area in -mm; this patch resolves them.

Thanks.

-- wli

Index: linux-2.6.7-rc2/include/linux/hiddev.h
===================================================================
--- linux-2.6.7-rc2.orig/include/linux/hiddev.h 2004-06-01 03:11:37.000000000 -0700
+++ linux-2.6.7-rc2/include/linux/hiddev.h 2004-06-02 06:15:34.807765000 -0700
@@ -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,