mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
staging: comedi: addi_apci_3120: move APCI3120_FIFO_ADVANCE_ON_BYTE_2
Move this define to the main driver source and convert it to a bit-shift. 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
0c63bd5aea
commit
b7d62cf812
2 changed files with 1 additions and 6 deletions
|
|
@ -40,12 +40,6 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
|||
+----------+-----------+------------------------------------------------+
|
||||
*/
|
||||
|
||||
/*
|
||||
* ADDON RELATED ADDITIONS
|
||||
*/
|
||||
/* Constant */
|
||||
#define APCI3120_FIFO_ADVANCE_ON_BYTE_2 0x20000000L
|
||||
|
||||
#define APCI3120_START 1
|
||||
#define APCI3120_STOP 0
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
* PCI BAR 0 register map (devpriv->amcc)
|
||||
* see amcc_s5933.h for register and bit defines
|
||||
*/
|
||||
#define APCI3120_FIFO_ADVANCE_ON_BYTE_2 (1 << 29)
|
||||
|
||||
/*
|
||||
* PCI BAR 1 register map (dev->iobase)
|
||||
|
|
|
|||
Loading…
Reference in a new issue