Skip to contentSkip to conversation

input: pegasus_notetaker - directly include workqueue header

PATCH Applied Martin Kepplinger 2 participants 2 messages Aug 24, 2016 – Aug 25, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input: pegasus_notetaker - directly include workqueue header

According to the kernel's guidelines, let's directly include the workqueue functions we use.

---
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(+)
drivers/input/tablet/pegasus_notetaker.c +1 -0
index 949dacc..47de5a8 100644
@@ -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
Signature · 1 line
2.1.4
maintainer Applied
#1 lore raw
Quoted 7 lines · Martin Kepplinger

According to the kernel's guidelines, let's directly include the workqueue functions we use.

---
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.

Quoted 20 lines

 drivers/input/tablet/pegasus_notetaker.c | 1 +
 1 file changed, 1 insertion(+)
drivers/input/tablet/pegasus_notetaker.c +1 -0
index 949dacc..47de5a8 100644
@@ -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
Signature · 1 line
2.1.4
Signature · 1 line
Dmitry