mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
staging: comedi: me4000: remove ME4000_CNT_* defines
Since this driver is using the 8253.h helpers, these defines are no longer needed. 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>
This commit is contained in:
parent
83eef17c78
commit
523c5d8e69
1 changed files with 0 additions and 24 deletions
|
|
@ -70,15 +70,6 @@
|
|||
|
||||
#define ME4000_AO_DEMUX_ADJUST_VALUE 0x4C
|
||||
|
||||
/*=============================================================================
|
||||
Counter base register offsets
|
||||
===========================================================================*/
|
||||
|
||||
#define ME4000_CNT_COUNTER_0_REG 0x00
|
||||
#define ME4000_CNT_COUNTER_1_REG 0x01
|
||||
#define ME4000_CNT_COUNTER_2_REG 0x02
|
||||
#define ME4000_CNT_CTRL_REG 0x03
|
||||
|
||||
/*=============================================================================
|
||||
PLX base register offsets
|
||||
===========================================================================*/
|
||||
|
|
@ -248,19 +239,4 @@ struct me4000_info {
|
|||
|
||||
#define ME4000_AI_LIST_LAST_ENTRY 0x100
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
Defines for counters
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#define ME4000_CNT_COUNTER_0 0x00
|
||||
#define ME4000_CNT_COUNTER_1 0x40
|
||||
#define ME4000_CNT_COUNTER_2 0x80
|
||||
|
||||
#define ME4000_CNT_MODE_0 0x00 /* Change state if zero crossing */
|
||||
#define ME4000_CNT_MODE_1 0x02 /* Retriggerable One-Shot */
|
||||
#define ME4000_CNT_MODE_2 0x04 /* Asymmetrical divider */
|
||||
#define ME4000_CNT_MODE_3 0x06 /* Symmetrical divider */
|
||||
#define ME4000_CNT_MODE_4 0x08 /* Counter start by software trigger */
|
||||
#define ME4000_CNT_MODE_5 0x0A /* Counter start by hardware trigger */
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue