Re: [PATCH] input: pegasus_notetaker - directly include workqueue header

From: Dmitry Torokhov
Date: Thu Aug 25 2016 - 12:44:14 EST


On Wed, Aug 24, 2016 at 11:52:05AM +0200, Martin Kepplinger wrote:
> According to the kernel's guidelines, let's directly include the
> workqueue functions we use.
>
> Signed-off-by: Martin Kepplinger <martink@xxxxxxxxx>
> ---
> I don't know if it's worth it, but I should have included this according to
> the guidelines :)

It won't hurt.

Applied, thank you.

>
>
> drivers/input/tablet/pegasus_notetaker.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/input/tablet/pegasus_notetaker.c b/drivers/input/tablet/pegasus_notetaker.c
> index 949dacc..47de5a8 100644
> --- a/drivers/input/tablet/pegasus_notetaker.c
> +++ b/drivers/input/tablet/pegasus_notetaker.c
> @@ -40,6 +40,7 @@
> #include <linux/input.h>
> #include <linux/usb/input.h>
> #include <linux/slab.h>
> +#include <linux/workqueue.h>
>
> /* USB HID defines */
> #define USB_REQ_GET_REPORT 0x01
> --
> 2.1.4
>

--
Dmitry