Skip to content

Commit

Permalink
staging: comedi: rti800: remove am9513.h header
Browse files Browse the repository at this point in the history
This driver is the only file that includes the am9513.h header and
nothing from that header is actually used. Using the macros provided
by am9513.h is a bit ugly due to having to predefine a number of
additional macros to handle the low-level I/O to the Am9513 device.

Just remove the header and the unused I/O helpers in the rti800
driver. If support for the am9513 is added later it wil be implemented
properly at that time.

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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Apr 9, 2013
1 parent 0181ae7 commit ca52a23
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 88 deletions.
79 changes: 0 additions & 79 deletions drivers/staging/comedi/drivers/am9513.h

This file was deleted.

9 changes: 0 additions & 9 deletions drivers/staging/comedi/drivers/rti800.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,6 @@ Configuration options:

#define RTI800_AI_TIMEOUT 100

#define Am9513_8BITBUS

#define Am9513_output_control(a) outb(a, dev->iobase+RTI800_9513A_CNTRL)
#define Am9513_output_data(a) outb(a, dev->iobase+RTI800_9513A_DATA)
#define Am9513_input_data() inb(dev->iobase+RTI800_9513A_DATA)
#define Am9513_input_status() inb(dev->iobase+RTI800_9513A_STATUS)

#include "am9513.h"

static const struct comedi_lrange range_rti800_ai_10_bipolar = {
4, {
BIP_RANGE(10),
Expand Down

0 comments on commit ca52a23

Please sign in to comment.