staging: comedi: adv_pci1724: remove enum sync_output_trigger_contents
This enum is not used in the driver. Remove it. For aesthetics, rename the register define and move the comment that any value will trigger the sync output. 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>
This commit is contained in:
parent
14356535fb
commit
80b00a5842
@ -72,13 +72,9 @@ supported PCI devices are configured as comedi devices automatically.
|
||||
#define PCI1724_SYNC_CTRL_DACSTAT (1 << 1)
|
||||
#define PCI1724_SYNC_CTRL_SYN (1 << 0)
|
||||
#define PCI1724_EEPROM_CTRL_REG 0x08
|
||||
#define PCI1724_SYNC_OUTPUT_TRIG_REG 0x0c
|
||||
#define PCI1724_SYNC_TRIG_REG 0x0c /* any value works */
|
||||
#define PCI1724_BOARD_ID_REG 0x10
|
||||
|
||||
enum sync_output_trigger_contents {
|
||||
SYNC_TRIGGER_BITS = 0x0 /* any value works */
|
||||
};
|
||||
|
||||
enum board_id_contents {
|
||||
BOARD_ID_MASK = 0xf
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user