]> code.ossystems Code Review - meta-freescale.git/blob
3c75b7132af5de3ee1064050e142ae88a1919fd6
[meta-freescale.git] /
1 From bf6634e8ad489e47150c0acb8efbe5ddd89066f5 Mon Sep 17 00:00:00 2001
2 From: Andy Voltz <andy.voltz@timesys.com>
3 Date: Thu, 27 Jun 2013 15:20:27 -0400
4 Subject: [PATCH 2/2] mvf.c: Change console device name to match mainline
5  u-boot
6
7 ---
8  drivers/tty/serial/mvf.c |    4 ++--
9  1 file changed, 2 insertions(+), 2 deletions(-)
10
11 diff --git a/drivers/tty/serial/mvf.c b/drivers/tty/serial/mvf.c
12 index 814a7da..4f7a82f 100644
13 --- a/drivers/tty/serial/mvf.c
14 +++ b/drivers/tty/serial/mvf.c
15 @@ -55,7 +55,7 @@
16  /* We've been assigned a range on the "Low-density serial ports" major */
17  #define SERIAL_IMX_MAJOR        207
18  #define MINOR_START            16
19 -#define DEV_NAME               "ttymxc"
20 +#define DEV_NAME               "ttyLP"
21  #define MAX_INTERNAL_IRQ       MXC_INTERNAL_IRQS
22  
23  /*
24 @@ -605,7 +605,7 @@ static int imx_startup(struct uart_port *port)
25         if (sport->enable_dma) {
26                 /* request eDMA channel and buffer */
27                 sport->dma_tx_ch = mcf_edma_request_channel(pdata->dma_req_tx,
28 -                       dma_tx_callback, NULL, 1, sport, NULL, "ttymxc");
29 +                       dma_tx_callback, NULL, 1, sport, NULL, DEV_NAME);
30  
31                 sport->dma_is_txing = 0;
32  
33 -- 
34 1.7.9.5
35