#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/comedi/comedidev.h>
#include <linux/comedi/comedi_8255.h>
#include "amplc_pc236.h"
static void pc236_intr_update(struct comedi_device *dev, bool enable)
{ … }
static bool pc236_intr_check(struct comedi_device *dev)
{ … }
static int pc236_intr_insn(struct comedi_device *dev,
struct comedi_subdevice *s, struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pc236_intr_cmdtest(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_cmd *cmd)
{ … }
static int pc236_intr_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
{ … }
static int pc236_intr_cancel(struct comedi_device *dev,
struct comedi_subdevice *s)
{ … }
static irqreturn_t pc236_interrupt(int irq, void *d)
{ … }
int amplc_pc236_common_attach(struct comedi_device *dev, unsigned long iobase,
unsigned int irq, unsigned long req_irq_flags)
{ … }
EXPORT_SYMBOL_GPL(…);
static int __init amplc_pc236_common_init(void)
{ … }
module_init(…) …;
static void __exit amplc_pc236_common_exit(void)
{ … }
module_exit(amplc_pc236_common_exit);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;