int (*io) (int, int, int, unsigned long);
};
+static int subdev_8255_io(int dir, int port, int data, unsigned long iobase)
+{
+ if (dir) {
+ outb(data, iobase + port);
+ return 0;
+ } else {
+ return inb(iobase + port);
+ }
+}
+
void subdev_8255_interrupt(struct comedi_device *dev,
struct comedi_subdevice *s)
{
}
EXPORT_SYMBOL(subdev_8255_interrupt);
-static int subdev_8255_io(int dir, int port, int data, unsigned long iobase)
-{
- if (dir) {
- outb(data, iobase + port);
- return 0;
- } else {
- return inb(iobase + port);
- }
-}
-
static int subdev_8255_insn(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data)