Messages in this thread Patch in this message | | | From | Chase Southwood <> | Subject | [PATCH 1/2] staging: comedi: addi_apci_1564: driver no longer needs to include addi_common.h | Date | Sat, 12 Jul 2014 17:42:36 -0500 |
| |
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
| |