~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/mips/alchemy/common/time.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
                goto cntr_err;
142
142
 
143
143
        /* register counter1 clocksource and event device */
144
 
        clocksource_set_clock(&au1x_counter1_clocksource, 32768);
145
 
        clocksource_register(&au1x_counter1_clocksource);
 
144
        clocksource_register_hz(&au1x_counter1_clocksource, 32768);
146
145
 
147
146
        cd->shift = 32;
148
147
        cd->mult = div_sc(32768, NSEC_PER_SEC, cd->shift);