diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-06-20 20:10:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-29 23:17:59 +0200 |
commit | b3d471e9bb845a542ee3bbc087e38a5b64170084 (patch) | |
tree | b05b29a812a927465de04ad6a4803bc0738946e6 | |
parent | staging: comedi: ni_atmio: remove ATMIO and PCIMIO defines (diff) | |
download | linux-b3d471e9bb845a542ee3bbc087e38a5b64170084.tar.xz linux-b3d471e9bb845a542ee3bbc087e38a5b64170084.zip |
staging: comedi: ni_mio_cs: remove ATMIO and PCIMIO defines
These defines were probably intended to be used so that ni_mio_common.c
could detect if it was included by a driver that uses ioport or memory
mapped register access. This can actually be detected by checking if
the 'mite' member in the private data has been allocated.
Regardless, the symbols are not used. Just remove them.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/ni_mio_cs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/ni_mio_cs.c b/drivers/staging/comedi/drivers/ni_mio_cs.c index f58be63d9226..815cb2b65c05 100644 --- a/drivers/staging/comedi/drivers/ni_mio_cs.c +++ b/drivers/staging/comedi/drivers/ni_mio_cs.c @@ -47,9 +47,6 @@ See the notes in the ni_atmio.o driver. #include <pcmcia/cistpl.h> #include <pcmcia/ds.h> -#define ATMIO 1 -#undef PCIMIO - /* * AT specific setup */ |