]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: comedi: drivers do not need <linux/ioport.h>
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 25 Jun 2013 00:05:07 +0000 (17:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 21:07:25 +0000 (14:07 -0700)
All the ioport resources are managed by the comedi core. None of
the drivers depend on <linux/ioport.h>. Remove the includes.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
39 files changed:
drivers/staging/comedi/comedi_fops.c
drivers/staging/comedi/drivers/8255.c
drivers/staging/comedi/drivers/aio_aio12_8.c
drivers/staging/comedi/drivers/aio_iiro_16.c
drivers/staging/comedi/drivers/c6xdigio.c
drivers/staging/comedi/drivers/comedi_parport.c
drivers/staging/comedi/drivers/das16m1.c
drivers/staging/comedi/drivers/das1800.c
drivers/staging/comedi/drivers/das6402.c
drivers/staging/comedi/drivers/das800.c
drivers/staging/comedi/drivers/dmm32at.c
drivers/staging/comedi/drivers/dt2801.c
drivers/staging/comedi/drivers/dt2811.c
drivers/staging/comedi/drivers/dt2814.c
drivers/staging/comedi/drivers/dt2815.c
drivers/staging/comedi/drivers/dt2817.c
drivers/staging/comedi/drivers/dt282x.c
drivers/staging/comedi/drivers/fl512.c
drivers/staging/comedi/drivers/mpc624.c
drivers/staging/comedi/drivers/multiq3.c
drivers/staging/comedi/drivers/ni_at_a2150.c
drivers/staging/comedi/drivers/ni_at_ao.c
drivers/staging/comedi/drivers/ni_atmio16d.c
drivers/staging/comedi/drivers/ni_daq_700.c
drivers/staging/comedi/drivers/pcl711.c
drivers/staging/comedi/drivers/pcl724.c
drivers/staging/comedi/drivers/pcl726.c
drivers/staging/comedi/drivers/pcl730.c
drivers/staging/comedi/drivers/pcl812.c
drivers/staging/comedi/drivers/pcl816.c
drivers/staging/comedi/drivers/pcl818.c
drivers/staging/comedi/drivers/pcm3724.c
drivers/staging/comedi/drivers/poc.c
drivers/staging/comedi/drivers/rti800.c
drivers/staging/comedi/drivers/rti802.c
drivers/staging/comedi/drivers/s526.c
drivers/staging/comedi/drivers/serial2002.c
drivers/staging/comedi/drivers/unioxx5.c
drivers/staging/comedi/kcomedilib/kcomedilib_main.c

index 8647518259f6dd5ab3379babc218d5ef6cf24831..ad275567c09adab037920a466834878897431a25 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/sched.h>
 #include <linux/fcntl.h>
 #include <linux/delay.h>
-#include <linux/ioport.h>
 #include <linux/mm.h>
 #include <linux/slab.h>
 #include <linux/kmod.h>
index 7966079a8361a1d40ad7a831ebd498fe9c089f23..1fa29ac4eb5df194ef44afcf41ae35c21b0e9d95 100644 (file)
@@ -76,8 +76,6 @@ I/O port base address can be found in the output of 'lspci -v'.
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 #include "comedi_fc.h"
 #include "8255.h"
 
index 8d081076eed6664416227ddb4e9ac3cb585c488b..abb28498b58c3fc27ac49597ca4173d8017486ec 100644 (file)
@@ -37,7 +37,6 @@ Notes:
 
 #include <linux/module.h>
 #include "../comedidev.h"
-#include <linux/ioport.h>
 #include "8255.h"
 
 /*
index f066b5714941bb35900441639c0f3374833c2ed7..afe87cc897612c0508f0924088b65452533ad052 100644 (file)
@@ -32,7 +32,6 @@ Configuration Options:
 
 #include <linux/module.h>
 #include "../comedidev.h"
-#include <linux/ioport.h>
 
 #define AIO_IIRO_16_SIZE       0x08
 #define AIO_IIRO_16_RELAY_0_7  0x00
index 929218a359754c9381ef383de6c80b7bcf1a3e87..cff23acd76ee3011bebbf4b05c0cc7774b9a21f2 100644 (file)
@@ -35,7 +35,6 @@ http://robot0.ge.uiuc.edu/~spong/mecha/
 #include <linux/sched.h>
 #include <linux/mm.h>
 #include <linux/errno.h>
-#include <linux/ioport.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include <linux/timex.h>
index da52e514b90efa8904f6748c1b7fa3bf3b7d6ff2..f28a15f0274e44819040d7322d046f43aab03c05 100644 (file)
@@ -79,7 +79,6 @@ pin, which can be used to wake up tasks.
 #include <linux/module.h>
 #include "../comedidev.h"
 #include <linux/interrupt.h>
-#include <linux/ioport.h>
 
 #include "comedi_fc.h"
 
index ede0d47aefc37662ff23ba03db91a6f103b80779..b943c449b69198ef9782137d65c5c0a0cd5524a1 100644 (file)
@@ -53,7 +53,6 @@ irq can be omitted, although the cmd interface will not work without it.
 */
 
 #include <linux/module.h>
-#include <linux/ioport.h>
 #include <linux/interrupt.h>
 #include "../comedidev.h"
 
index f5ed55c68fa16679bf7136c9aec96e35232ade0d..5b300294d3229171d2212d962bdc626a57810f09 100644 (file)
@@ -100,7 +100,6 @@ TODO:
 #include <linux/io.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
 #include <asm/dma.h>
 
 #include "8253.h"
index 8f6dc0a4490916fe95c68071f4644c65acf05789..fb25cb847032ee1c86308bdb93fc940facad57d4 100644 (file)
@@ -37,8 +37,6 @@ This driver has suffered bitrot.
 #include <linux/interrupt.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 #define DAS6402_SIZE 16
 
 #define N_WORDS (3000*64)
index 13e1cd0afd3240e8fa6293cfc43447141518ea9e..11e16114e4e3150ccca1763f44107ee6e2238dad 100644 (file)
@@ -60,7 +60,6 @@ cmd triggers supported:
 #include <linux/interrupt.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
 #include <linux/delay.h>
 
 #include "8253.h"
index 1d80d745752956a47109ebcc6b14fbbbd54f144a..5237f47d39ae908f66b8645e5878e7da25e5d895 100644 (file)
@@ -36,7 +36,6 @@ Configuration Options:
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include "../comedidev.h"
-#include <linux/ioport.h>
 
 #include "comedi_fc.h"
 
index 2537696f80fc95dd7bb6c7b7f5ccdfa6b47af657..e0e7beab7274b255c79e079fa94a5e190b2a13f6 100644 (file)
@@ -32,7 +32,6 @@ Configuration options:
 #include <linux/module.h>
 #include "../comedidev.h"
 #include <linux/delay.h>
-#include <linux/ioport.h>
 
 #define DT2801_TIMEOUT 1000
 
index 34afa940db772ebc10112f4e429d4282d8acccdf..a41a5716f3584fdbb488203b1c87b055fe5ae84f 100644 (file)
@@ -45,8 +45,6 @@ Configuration options:
 #include <linux/interrupt.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 static const struct comedi_lrange range_dt2811_pgh_ai_5_unipolar = {
        4, {
                RANGE(0, 5),
index a1076a43c294da88b6f132cd54f03959dd9bc60b..6514b9e0055283dfc8d050a2b4b1554f946efbdb 100644 (file)
@@ -38,7 +38,6 @@ addition, the clock does not seem to be very accurate.
 #include <linux/interrupt.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
 #include <linux/delay.h>
 
 #include "comedi_fc.h"
index c33708c9058586d6854f2c5b570b13a14bcea014..34040f0175e88d9433c63014a54a78a1c7052da2 100644 (file)
@@ -54,7 +54,6 @@ Configuration options:
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
 #include <linux/delay.h>
 
 #define DT2815_SIZE 2
index 1ba49e79ee010945537dd7a11b385b4736648fb9..51cf1211f1ba694183817f8f3a7a2f8a0de5bd57 100644 (file)
@@ -36,8 +36,6 @@ Configuration options:
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 #define DT2817_SIZE 5
 
 #define DT2817_CR 0
index 6d3553c8a24d0c3f4f2cea71663fc461de0d7fc7..23cb033559b3c4bd4c0d4b1f631ac6b78495c683 100644 (file)
@@ -56,7 +56,6 @@ Notes:
 
 #include <linux/delay.h>
 #include <linux/gfp.h>
-#include <linux/ioport.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
 
index 13f86d5cc957052e1c3f587846bd3ab0b8b38e83..8d70f64b157478b43c79eb32ad2952962e7316e3 100644 (file)
@@ -22,7 +22,6 @@ Configuration options:
 #include "../comedidev.h"
 
 #include <linux/delay.h>
-#include <linux/ioport.h>
 
 #define FL512_SIZE 16          /* the size of the used memory */
 struct fl512_private {
index bfdc2d36e651064b627c8f0a0376874c5bcf5c42..acbaeee6250c8cf9be3180cacd2ba16d2bf4b0d0 100644 (file)
@@ -54,7 +54,6 @@ Configuration Options:
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
 #include <linux/delay.h>
 
 /* Consecutive I/O port addresses */
index 088e3524e5863d22a28edcc3011b9ff757bad53b..9d75ea4e201bcb553cc5cb75b38b759d0fe87e65 100644 (file)
@@ -28,8 +28,6 @@ Devices: [Quanser Consulting] MultiQ-3 (multiq3)
 #include <linux/interrupt.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 #define MULTIQ3_SIZE 16
 
 /*
index e13d5c83fb483802ba2f931a2627edf59a716df1..2512ce8dfcaa7bd2a830fc29aaf307555b115d28 100644 (file)
@@ -64,7 +64,6 @@ TRIG_WAKE_EOS
 #include <linux/slab.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
 #include <linux/io.h>
 
 #include <asm/dma.h>
index e19a7673ac3bbf6f69316d177f2b0a10abb36d9f..0025496bc643caf04b2c74374f65c4e642de3592 100644 (file)
@@ -39,8 +39,6 @@ Configuration options:
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 /* board egisters */
 /* registers with _2_ are accessed when GRP2WR is set in CFG1 */
 
index 7b28fffa4913b302b4acd095d48d8ce6aa3d3127..8520d83d940f7bb49a86c91fd09fce0c398134dd 100644 (file)
@@ -34,8 +34,6 @@ Devices: [National Instruments] AT-MIO-16 (atmio16), AT-MIO-16D (atmio16d)
 #include <linux/interrupt.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 #include "comedi_fc.h"
 #include "8255.h"
 
index c274a14216ea1443e722a1d105b7b4935ffc288f..41659652a491ff7abfe82cc0fbc40bc03d4c6ea9 100644 (file)
@@ -47,7 +47,6 @@ Manuals:      Register level: http://www.ni.com/pdf/manuals/340698.pdf
 
 #include <linux/module.h>
 #include <linux/delay.h>
-#include <linux/ioport.h>
 #include <linux/interrupt.h>
 
 #include "../comedidev.h"
index 6986837edef07dc102ead7631610dfbecf611154..e859f85a8e17c1b39ac7300f7ded90f250da1d22 100644 (file)
@@ -57,7 +57,6 @@ supported.
 #include <linux/interrupt.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
 #include <linux/delay.h>
 
 #include "comedi_fc.h"
index 51fe1a2740e6b4fcfc135ad6aa3b10d67a5a25e0..88060222baf36be660173ebcc52370d65a0df8f5 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
 #include <linux/delay.h>
 
 #include "8255.h"
index e167ea6f67609badcfd99f70e0f0942055b6411b..a4d0bcc31e52df22290fbfb174f08eac5f89f3c5 100644 (file)
@@ -65,8 +65,6 @@ Interrupts are not supported.
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 #undef ACL6126_IRQ             /* no interrupt support (yet) */
 
 #define PCL726_SIZE 16
index 6d23a9d0ddcbeb87dc670f2cbd5906d992e94f3a..2a659f23ecda78be31cbb369c735c543c8218616 100644 (file)
@@ -30,8 +30,6 @@
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 /*
  * Register map
  *
index c4f2f4e0a40f7ff2ba84aaf90b67cf8bd8cbd4c7..35251e71b7f8af42bf3e247ffac71991601d649b 100644 (file)
 #include "../comedidev.h"
 
 #include <linux/delay.h>
-#include <linux/ioport.h>
 #include <linux/io.h>
 #include <asm/dma.h>
 
index dfce2a5599ceb35446fa803c36ee8843f6de3e83..f03134962596ccbe2254edaa7ab4eb04c688acaf 100644 (file)
@@ -35,7 +35,6 @@ Configuration Options:
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
 #include <linux/gfp.h>
 #include <linux/delay.h>
 #include <linux/io.h>
index 48042967065d0323786c8d3750ea6a9f10bc7071..a52ba82ff0e4a10adbdebf1508b73b1d7967c132 100644 (file)
@@ -99,7 +99,6 @@ A word or two about DMA. Driver support DMA operations at two ways:
 */
 
 #include <linux/module.h>
-#include <linux/ioport.h>
 #include <linux/gfp.h>
 #include <linux/delay.h>
 #include <linux/io.h>
index 31d398ca9ae1a625072d90820001cd91e9444506..4c710e52e63b0f0ea4d5d5325a4a7cc57b194050 100644 (file)
@@ -31,7 +31,6 @@ Copy/pasted/hacked from pcm724.c
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
 #include <linux/delay.h>
 
 #include "8255.h"
index 3b51bef52ef654e429cf34147cfc0b6cf6f099d2..2ae4ee15704cc04a9100ce8fa2108801123612ff 100644 (file)
@@ -33,8 +33,6 @@ Configuration options:
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 struct boarddef_struct {
        const char *name;
        unsigned int iosize;
index 47a0abc88dbb862f68d1f7368c49ca709d0a5ef3..cbb4ba5b852a1fdf43b44a0c2b7dacd2092f8c60 100644 (file)
@@ -54,8 +54,6 @@
 #include <linux/interrupt.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 /*
  * Register map
  */
index 116687ba21ae4a5b47fb83a9e9a09e7d09e625c7..a3fa2a4baef43f0491defc36d06c59cd2acb5233 100644 (file)
@@ -35,8 +35,6 @@ Configuration Options:
 #include <linux/module.h>
 #include "../comedidev.h"
 
-#include <linux/ioport.h>
-
 #define RTI802_SIZE 4
 
 #define RTI802_SELECT 0
index 0373a45ec4e7f67b7ab060b9515e8272ca7c2dda..6670b865256b3aa4ba6652fae636532d00053b63 100644 (file)
@@ -38,7 +38,6 @@ comedi_config /dev/comedi0 s526 0x2C0,0x3
 
 #include <linux/module.h>
 #include "../comedidev.h"
-#include <linux/ioport.h>
 #include <asm/byteorder.h>
 
 #define S526_SIZE 64
index 11a6da8414541e587ef361e2f40d7bce0a521eaa..441813ffb175a58ae9a12c7019282c1130733d7e 100644 (file)
@@ -30,7 +30,6 @@ Status: in development
 #include "../comedidev.h"
 
 #include <linux/delay.h>
-#include <linux/ioport.h>
 #include <linux/sched.h>
 #include <linux/slab.h>
 
index a4cb573233e3ece6ddf06d9fe983f5c27f6491ba..93eec2fc254c187a0dc9f7d6e0367c6cd5cfcf5d 100644 (file)
@@ -43,7 +43,6 @@ Devices: [Fastwel] UNIOxx-5 (unioxx5),
 #include <linux/module.h>
 #include <linux/delay.h>
 #include "../comedidev.h"
-#include <linux/ioport.h>
 
 #define DRIVER_NAME "unioxx5"
 #define UNIOXX5_SIZE 0x10
index da8988c6bf503c8bc9390cd4b838aad1b95ed597..cb3d3260a65e02a302c89b0607f86ea66a7d0b87 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/sched.h>
 #include <linux/fcntl.h>
 #include <linux/delay.h>
-#include <linux/ioport.h>
 #include <linux/mm.h>
 #include <linux/io.h>