staging: fix iio/gyro typos, build errors
authorRandy Dunlap <randy.dunlap@oracle.com>
Sat, 13 Nov 2010 16:44:35 +0000 (08:44 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 20:31:49 +0000 (12:31 -0800)
Typo causes build errors.  Did anyone even build this driver?

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/gyro/adis16251.h

index 999db49..d23852c 100644 (file)
 #define ADIS16251_DIAG_STAT_POWER_HIGH (1<<1)
 #define ADIS16251_DIAG_STAT_POWER_LOW  (1<<0)
 
-#define ADIS16251_DIAG_STAT_ERR_MASK (ADIS16261_DIAG_STAT_ALARM2 | \
-                                     ADIS16261_DIAG_STAT_ALARM1 | \
-                                     ADIS16261_DIAG_STAT_SELF_TEST | \
-                                     ADIS16261_DIAG_STAT_OVERFLOW | \
-                                     ADIS16261_DIAG_STAT_SPI_FAIL | \
-                                     ADIS16261_DIAG_STAT_FLASH_UPT | \
-                                     ADIS16261_DIAG_STAT_POWER_HIGH | \
-                                     ADIS16261_DIAG_STAT_POWER_LOW)
+#define ADIS16251_DIAG_STAT_ERR_MASK (ADIS16251_DIAG_STAT_ALARM2 | \
+                                     ADIS16251_DIAG_STAT_ALARM1 | \
+                                     ADIS16251_DIAG_STAT_SELF_TEST | \
+                                     ADIS16251_DIAG_STAT_OVERFLOW | \
+                                     ADIS16251_DIAG_STAT_SPI_FAIL | \
+                                     ADIS16251_DIAG_STAT_FLASH_UPT | \
+                                     ADIS16251_DIAG_STAT_POWER_HIGH | \
+                                     ADIS16251_DIAG_STAT_POWER_LOW)
 
 /* GLOB_CMD */
 #define ADIS16251_GLOB_CMD_SW_RESET    (1<<7)