Commit ffe6f167 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman

serial: mrst_max3110: make buffer larger

commit d8653d30 upstream.

This is used to store the spi_device ->modalias so they have to be the same
size.  SPI_NAME_SIZE is 32.
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent fd190dfb
......@@ -51,7 +51,7 @@
struct uart_max3110 {
struct uart_port port;
struct spi_device *spi;
char name[24];
char name[SPI_NAME_SIZE];
wait_queue_head_t wq;
struct task_struct *main_thread;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment