Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22d5ab02 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: icp_multi: remove iorange from boardinfo



This variable is not used in the driver. Remove it.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4ba47b8f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -60,8 +60,6 @@ There are 4 x 12-bit Analogue Outputs. Ranges : 5V, 10V, +/-5V, +/-10V

#define PCI_DEVICE_ID_ICP_MULTI	0x8000

#define IORANGE_ICP_MULTI 	32

#define ICP_MULTI_ADC_CSR	0	/* R/W: ADC command/status register */
#define ICP_MULTI_AI		2	/* R:   Analogue input data */
#define ICP_MULTI_DAC_CSR	4	/* R/W: DAC command/status register */
@@ -124,7 +122,6 @@ static unsigned short pci_list_builded; /*>0 list of card is known */
struct boardtype {
	const char *name;	/*  driver name */
	int device_id;
	int iorange;		/*  I/O range len */
	char have_irq;		/*  1=card support IRQ */
};

@@ -871,7 +868,6 @@ static const struct boardtype boardtypes[] = {
	{
		.name		= "icp_multi",
		.device_id	= PCI_DEVICE_ID_ICP_MULTI,
		.iorange	= IORANGE_ICP_MULTI,
		.have_irq	= 1,
	},
};