lkml.org 
[lkml]   [2010]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 11/11] Removing dead SERIAL_BFIN_SPORT_CONSOLE
    SERIAL_BFIN_SPORT_CONSOLE doesn't exist in Kconfig, therefore removing
    all references for it from the source code.

    Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
    ---
    drivers/serial/bfin_sport_uart.c | 15 +++++----------
    1 files changed, 5 insertions(+), 10 deletions(-)

    diff --git a/drivers/serial/bfin_sport_uart.c b/drivers/serial/bfin_sport_uart.c
    index 05cd3a6..01bdd89 100644
    --- a/drivers/serial/bfin_sport_uart.c
    +++ b/drivers/serial/bfin_sport_uart.c
    @@ -728,16 +728,11 @@ static int __devinit sport_uart_probe(struct platform_device *pdev)
    }
    }

    -#ifdef CONFIG_SERIAL_BFIN_SPORT_CONSOLE
    - if (!is_early_platform_device(pdev)) {
    -#endif
    - sport = bfin_sport_uart_ports[pdev->id];
    - sport->port.dev = &pdev->dev;
    - dev_set_drvdata(&pdev->dev, sport);
    - ret = uart_add_one_port(&sport_uart_reg, &sport->port);
    -#ifdef CONFIG_SERIAL_BFIN_SPORT_CONSOLE
    - }
    -#endif
    + sport = bfin_sport_uart_ports[pdev->id];
    + sport->port.dev = &pdev->dev;
    + dev_set_drvdata(&pdev->dev, sport);
    + ret = uart_add_one_port(&sport_uart_reg, &sport->port);
    +
    if (!ret)
    return 0;

    --
    1.7.0.4


    \
     
     \ /
      Last update: 2010-07-09 15:53    [W:0.026 / U:0.820 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site