Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355227
b: refs/heads/master
c: c1b724f
h: refs/heads/master
i:
  355225: 5e3cd3d
  355223: be69887
v: v3
  • Loading branch information
Stephen Warren committed Jan 15, 2013
1 parent 76e9805 commit 32c5b71
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 27 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: b2fc382aad0a8f52803acdc3ac4e5540dbcdf1f6
refs/heads/master: c1b724f6659a7e9e32f8fcf6409d053e1b7bccad
1 change: 1 addition & 0 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ config ARCH_BCM2835
select ARM_ERRATA_411920
select ARM_TIMER_SP804
select CLKDEV_LOOKUP
select CLKSRC_OF
select COMMON_CLK
select CPU_V6
select GENERIC_CLOCKEVENTS
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-bcm2835/bcm2835.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#include <linux/irqchip/bcm2835.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <linux/bcm2835_timer.h>
#include <linux/clk/bcm2835.h>
#include <linux/clocksource.h>

#include <asm/mach/arch.h>
#include <asm/mach/map.h>
Expand Down Expand Up @@ -104,7 +104,7 @@ DT_MACHINE_START(BCM2835, "BCM2835")
.init_irq = bcm2835_init_irq,
.handle_irq = bcm2835_handle_irq,
.init_machine = bcm2835_init,
.init_time = bcm2835_timer_init,
.init_time = clocksource_of_init,
.restart = bcm2835_restart,
.dt_compat = bcm2835_compat
MACHINE_END
5 changes: 3 additions & 2 deletions trunk/drivers/clocksource/bcm2835_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#include <linux/bcm2835_timer.h>
#include <linux/bitops.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
Expand Down Expand Up @@ -101,7 +100,7 @@ static struct of_device_id bcm2835_time_match[] __initconst = {
{}
};

void __init bcm2835_timer_init(void)
static void __init bcm2835_timer_init(void)
{
struct device_node *node;
void __iomem *base;
Expand Down Expand Up @@ -155,3 +154,5 @@ void __init bcm2835_timer_init(void)

pr_info("bcm2835: system timer (irq = %d)\n", irq);
}
CLOCKSOURCE_OF_DECLARE(bcm2835, "brcm,bcm2835-system-timer",
bcm2835_timer_init);
22 changes: 0 additions & 22 deletions trunk/include/linux/bcm2835_timer.h

This file was deleted.

0 comments on commit 32c5b71

Please sign in to comment.