Date:2010-05-28 01:43:23 (10 years 3 months ago)
Author:Maarten ter Huurne
Commit:7ae7dc69a91481a90a1111786b436be2ee49bc23
Message:jz4740_timer: Fixed indentation.

Files: arch/mips/jz4740/time.c (3 diffs)

Change Details

arch/mips/jz4740/time.c
112112    jz4740_timer_init();
113113
114114    clk_rate = jz4740_clock_bdata.ext_rate >> 4;
115    jz4740_jiffies_per_tick = DIV_ROUND_CLOSEST(clk_rate, HZ);
115    jz4740_jiffies_per_tick = DIV_ROUND_CLOSEST(clk_rate, HZ);
116116
117117    clockevent_set_clock(&jz4740_clockevent, clk_rate);
118118    jz4740_clockevent.min_delta_ns = clockevent_delta2ns(100, &jz4740_clockevent);
...... 
125125    ret = clocksource_register(&jz4740_clocksource);
126126
127127    if (ret)
128        printk(KERN_ERR "Failed to register clocksource: %d\n", ret);
128        printk(KERN_ERR "Failed to register clocksource: %d\n", ret);
129129
130130    setup_irq(JZ4740_IRQ_TCU0, &timer_irqaction);
131131
...... 
135135    jz4740_timer_set_ctrl(TIMER_CLOCKSOURCE, ctrl);
136136
137137    jz4740_timer_set_period(TIMER_CLOCKEVENT, jz4740_jiffies_per_tick);
138    jz4740_timer_irq_full_enable(TIMER_CLOCKEVENT);
138    jz4740_timer_irq_full_enable(TIMER_CLOCKEVENT);
139139    jz4740_timer_irq_half_disable(TIMER_CLOCKEVENT);
140140
141    jz4740_timer_irq_full_disable(TIMER_CLOCKSOURCE);
141    jz4740_timer_irq_full_disable(TIMER_CLOCKSOURCE);
142142    jz4740_timer_irq_half_disable(TIMER_CLOCKSOURCE);
143143    jz4740_timer_set_period(TIMER_CLOCKSOURCE, 0xffff);
144144

Archive Download the corresponding diff file



interactive