summaryrefslogtreecommitdiffstats
path: root/drivers/serial/mrst_max3110.h
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2010-09-13 15:39:48 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:20:03 -0700
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 363478acb2c..d1ef43af397 100644
--- a/drivers/serial/mrst_max3110.h
+++ b/drivers/serial/mrst_max3110.h
@@ -56,4 +56,5 @@
#define WC_BAUD_DR192 (0xE)
#define WC_BAUD_DR384 (0xF)
+#define M3110_RX_FIFO_DEPTH 8
#endif