Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370685
b: refs/heads/master
c: 67d7134
h: refs/heads/master
i:
  370683: a545e55
v: v3
  • Loading branch information
Arnd Bergmann committed Mar 25, 2013
1 parent e227ffd commit ea21bca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b426476a5c55a3fa2747810f616e395b31ff029e
refs/heads/master: 67d71344fd09223820eb9de39b597ec29f035e89
6 changes: 2 additions & 4 deletions trunk/arch/arm/mach-prima2/timer-prima2.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/of_address.h>
#include <mach/map.h>
#include <asm/sched_clock.h>
Expand Down Expand Up @@ -223,7 +224,6 @@ static struct of_device_id timer_ids[] = {
static void __init sirfsoc_of_timer_map(void)
{
struct device_node *np;
const unsigned int *intspec;

np = of_find_matching_node(NULL, timer_ids);
if (!np)
Expand All @@ -233,9 +233,7 @@ static void __init sirfsoc_of_timer_map(void)
panic("unable to map timer cpu registers\n");

/* Get the interrupts property */
intspec = of_get_property(np, "interrupts", NULL);
BUG_ON(!intspec);
sirfsoc_timer_irq.irq = be32_to_cpup(intspec);
sirfsoc_timer_irq.irq = irq_of_parse_and_map(np, 0);

of_node_put(np);
}

0 comments on commit ea21bca

Please sign in to comment.