]> Pileus Git - ~andy/linux/commitdiff
staging: comedi: ni_at_ao: fix namespace clash of 'RSI' define
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 30 Sep 2013 16:26:38 +0000 (09:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 01:33:13 +0000 (18:33 -0700)
As pointed out by Fengguang Wu, the RSI define in this driver clashes
with the one in arch/x86/include/uapi/asm/ptrace-abi.h.

This define isn't currently used by the driver so just rename it to fix
the clash.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_at_ao.c

index 4e4b227e091f9cb108bc2dc6215f8839f8628a4a..3545d294c4ae16907689b091a0a2d208fc0a4be3 100644 (file)
@@ -110,7 +110,7 @@ Configuration options:
 #define BCD            0x01
 
 #define ATAO_2_RTSISHFT                0x06    /* W 8 */
-#define RSI            0x01
+#define ATAO_RTSISHFT_RSI      (1 << 0)
 
 #define ATAO_2_RTSISTRB                0x07    /* W 8 */