nios2: check number of timer instances
authorLey Foon Tan <lftan@altera.com>
Wed, 24 Jun 2015 09:52:44 +0000 (17:52 +0800)
committerLey Foon Tan <lftan@altera.com>
Wed, 24 Jun 2015 09:52:44 +0000 (17:52 +0800)
commita8955cc3a504e43ecd606e9f0d9bc25de240aacb
treee3cd5caf38fd2b6e6b13e08ca1a10132fcbde6c6
parentb953c0d234bc72e8489d3bf51a276c5c4ec85345
nios2: check number of timer instances

Display error message if number of timers is less than 2.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/kernel/time.c