aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/mrst_max3110.h
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2010-09-13 03:39:48 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 13:20:03 -0400
commitee9b4500eb6433015f35762d390666fede48e574 (patch)
treec27780057d181e06caf0f1db95cb11417bd1a195 /drivers/serial/mrst_max3110.h
parentb670bde0b2497966d76154cfb9706c38cf8348f9 (diff)
serial: mrst_max3110: some code cleanup
The cleanup for mrst_max3110 includes: * remove unneeded head files * make the spi_transfer dma safe, so that driver is more portable * add more check for error return value * use mutex_trylock for read thread Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/mrst_max3110.h')
-rw-r--r--drivers/serial/mrst_max3110.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/mrst_max3110.h b/drivers/serial/mrst_max3110.h
index 363478acb2c3..d1ef43af397c 100644
--- a/drivers/serial/mrst_max3110.h
+++ b/drivers/serial/mrst_max3110.h
@@ -56,4 +56,5 @@
56#define WC_BAUD_DR192 (0xE) 56#define WC_BAUD_DR192 (0xE)
57#define WC_BAUD_DR384 (0xF) 57#define WC_BAUD_DR384 (0xF)
58 58
59#define M3110_RX_FIFO_DEPTH 8
59#endif 60#endif