All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] staging: comedi: addi_apci_1564: driver no longer needs to include addi_common.h
@ 2014-07-12 22:42 Chase Southwood
  2014-07-12 22:44 ` [PATCH 2/2] staging: comedi: addi_apci_1564: use addi_watchdog module to init watchdog subdevice Chase Southwood
  2014-07-14  9:15 ` [PATCH 1/2] staging: comedi: addi_apci_1564: driver no longer needs to include addi_common.h Ian Abbott
  0 siblings, 2 replies; 10+ messages in thread
From: Chase Southwood @ 2014-07-12 22:42 UTC (permalink / raw)
  To: gregkh; +Cc: abbotti, hsweeten, devel, linux-kernel, Chase Southwood

This driver no longer depends on anything in addi_common.h, save for a
few headers that it was including indirectly.  Remove the include of
addi_common.h and add the includes of <linux/interrupt.h>
and <linux/sched.h> directly.

Signed-off-by: Chase Southwood <chase.southwood@gmail.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
---
 drivers/staging/comedi/drivers/addi_apci_1564.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/comedi/drivers/addi_apci_1564.c b/drivers/staging/comedi/drivers/addi_apci_1564.c
index 1e25342..16f3b69 100644
--- a/drivers/staging/comedi/drivers/addi_apci_1564.c
+++ b/drivers/staging/comedi/drivers/addi_apci_1564.c
@@ -1,13 +1,13 @@
 #include <linux/module.h>
 #include <linux/pci.h>
+#include <linux/interrupt.h>
+#include <linux/sched.h>
 
 #include "../comedidev.h"
 #include "comedi_fc.h"
 #include "amcc_s5933.h"
 #include "addi_watchdog.h"
 
-#include "addi-data/addi_common.h"
-
 struct apci1564_private {
 	unsigned int amcc_iobase;	/* base of AMCC I/O registers */
 	unsigned int mode1;		/* riding-edge/high level channels */
-- 
2.0.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-07-17  2:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-12 22:42 [PATCH 1/2] staging: comedi: addi_apci_1564: driver no longer needs to include addi_common.h Chase Southwood
2014-07-12 22:44 ` [PATCH 2/2] staging: comedi: addi_apci_1564: use addi_watchdog module to init watchdog subdevice Chase Southwood
2014-07-13 19:17   ` Hartley Sweeten
2014-07-14  3:09     ` Chase Southwood
2014-07-14  9:22   ` Ian Abbott
2014-07-15  4:00     ` Chase Southwood
2014-07-15 10:14       ` Ian Abbott
2014-07-17  2:35         ` Chase Southwood
2014-07-14  9:15 ` [PATCH 1/2] staging: comedi: addi_apci_1564: driver no longer needs to include addi_common.h Ian Abbott
2014-07-14  9:23   ` Ian Abbott

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.