diff mbox

input: pegasus_notetaker - directly include workqueue header

Message ID 1472032325-11432-1-git-send-email-martink@posteo.de (mailing list archive)
State Accepted
Headers show

Commit Message

Martin Kepplinger-Novakovic Aug. 24, 2016, 9:52 a.m. UTC
According to the kernel's guidelines, let's directly include the
workqueue functions we use.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
---
I don't know if it's worth it, but I should have included this according to
the guidelines :)


 drivers/input/tablet/pegasus_notetaker.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Dmitry Torokhov Aug. 25, 2016, 4:42 p.m. UTC | #1
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@posteo.de>
> ---
> 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
>
diff mbox

Patch

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