Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355479
b: refs/heads/master
c: 0d5983a
h: refs/heads/master
i:
  355477: 9ff0db6
  355475: 8b9f748
  355471: 6456a08
v: v3
  • Loading branch information
Barry Song authored and Barry Song committed Jan 22, 2013
1 parent 2d92354 commit e04c31d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 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: ea38960fb63ab5cce2442fa88f5041bcfb1ae8e3
refs/heads/master: 0d5983a62ad5749068a507e0c579af88f4753261
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-prima2/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
obj-y := timer.o
obj-y += rstc.o
obj-y += common.o
obj-y += rtciobrg.o
obj-$(CONFIG_DEBUG_LL) += lluart.o
obj-$(CONFIG_CACHE_L2X0) += l2x0.o
obj-$(CONFIG_SUSPEND) += pm.o sleep.o
obj-$(CONFIG_SIRF_IRQ) += irq.o
obj-$(CONFIG_ARCH_PRIMA2) += timer-prima2.o
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-prima2/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ DT_MACHINE_START(PRIMA2_DT, "Generic PRIMA2 (Flattened Device Tree)")
/* Maintainer: Barry Song <baohua.song@csr.com> */
.map_io = sirfsoc_map_lluart,
.init_irq = sirfsoc_of_irq_init,
.init_time = sirfsoc_timer_init,
.init_time = sirfsoc_prima2_timer_init,
.dma_zone_size = SZ_256M,
.init_machine = sirfsoc_mach_init,
.init_late = sirfsoc_init_late,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-prima2/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <linux/init.h>
#include <asm/mach/time.h>

extern void sirfsoc_timer_init(void);
extern void sirfsoc_prima2_timer_init(void);

extern void __init sirfsoc_of_irq_init(void);
extern void __init sirfsoc_of_clk_init(void);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static void __init sirfsoc_clockevent_init(void)
}

/* initialize the kernel jiffy timer source */
void __init sirfsoc_timer_init(void)
void __init sirfsoc_prima2_timer_init(void)
{
unsigned long rate;
struct clk *clk;
Expand Down Expand Up @@ -226,14 +226,14 @@ static struct of_device_id timer_ids[] = {
{},
};

void __init sirfsoc_of_timer_map(void)
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)
panic("unable to find compatible timer node in dtb\n");
return;
sirfsoc_timer_base = of_iomap(np, 0);
if (!sirfsoc_timer_base)
panic("unable to map timer cpu registers\n");
Expand Down

0 comments on commit e04c31d

Please sign in to comment.