time.c (9095bf25ea08135a5b74875dd0e3eeaddc4218a0) | time.c (1727339590fdb5a1ded881b540cd32121278d414) |
---|---|
1/* 2 * Copyright (C) 2013-2014 Altera Corporation 3 * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> 4 * Copyright (C) 2004 Microtronix Datacom Ltd. 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file "COPYING" in the main directory of this archive 8 * for more details. --- 339 unchanged lines hidden (view full) --- 348 count++; 349 350 if (count < 2) 351 panic("%d timer is found, it needs 2 timers in system\n", count); 352 353 clocksource_probe(); 354} 355 | 1/* 2 * Copyright (C) 2013-2014 Altera Corporation 3 * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> 4 * Copyright (C) 2004 Microtronix Datacom Ltd. 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file "COPYING" in the main directory of this archive 8 * for more details. --- 339 unchanged lines hidden (view full) --- 348 count++; 349 350 if (count < 2) 351 panic("%d timer is found, it needs 2 timers in system\n", count); 352 353 clocksource_probe(); 354} 355 |
356CLOCKSOURCE_OF_DECLARE(nios2_timer, ALTR_TIMER_COMPATIBLE, nios2_time_init); | 356TIMER_OF_DECLARE(nios2_timer, ALTR_TIMER_COMPATIBLE, nios2_time_init); |