Re: [PATCH 09/10] HID: add compat support

Jiri Slaby
2009-01-25T13:04:15Z

Jaswinder Singh Rajput wrote:
> If you have any objections, then let me know, now it will look like this:

No objections from me, nice catch, thanks.

> #endif /* HID_FF */
>
> +#ifdef __KERNEL__
> #ifdef CONFIG_HID_COMPAT
> #define HID_COMPAT_LOAD_DRIVER(name) \
> /* prototype to avoid sparse warning */ \
> @@ -804,6 +805,7 @@ EXPORT_SYMBOL(hid_compat_##name)
> extern void hid_compat_##name(void); \
> hid_compat_##name(); \
> } while (0)
> +#endif /* __KERNEL__ */
>
> #endif