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 07/11] Removing dead ETRAX_EXTERN_PB6CLK_ENABLED
    ETRAX_EXTERN_PB6CLK_ENABLED 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/crisv10.c | 13 -------------
    1 files changed, 0 insertions(+), 13 deletions(-)

    diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c
    index 84e5357..47f4bf8 100644
    --- a/drivers/serial/crisv10.c
    +++ b/drivers/serial/crisv10.c
    @@ -2981,19 +2981,6 @@ change_speed(struct e100_serial *info)
    *R_SERIAL_PRESCALE = divisor;
    info->baud = SERIAL_PRESCALE_BASE/divisor;
    }
    -#ifdef CONFIG_ETRAX_EXTERN_PB6CLK_ENABLED
    - else if ((info->baud_base==CONFIG_ETRAX_EXTERN_PB6CLK_FREQ/8 &&
    - info->custom_divisor == 1) ||
    - (info->baud_base==CONFIG_ETRAX_EXTERN_PB6CLK_FREQ &&
    - info->custom_divisor == 8)) {
    - /* ext_clk selected */
    - alt_source =
    - IO_STATE(R_ALT_SER_BAUDRATE, ser0_rec, extern) |
    - IO_STATE(R_ALT_SER_BAUDRATE, ser0_tr, extern);
    - DBAUD(printk("using external baudrate: %lu\n", CONFIG_ETRAX_EXTERN_PB6CLK_FREQ/8));
    - info->baud = CONFIG_ETRAX_EXTERN_PB6CLK_FREQ/8;
    - }
    -#endif
    else
    {
    /* Bad baudbase, we don't support using timer0
    --
    1.7.0.4


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