Skip to content

Commit

Permalink
ARM: OMAP: Define omap_dm_timer_prepare function as static
Browse files Browse the repository at this point in the history
The omap_dm_timer_prepare function is a local function only used in the
dmtimer.c file. Therefore, make this a static function and remove its
declaration from the dmtimer.h file.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
  • Loading branch information
Jon Hunter committed Nov 16, 2012
1 parent ae6672c commit b0cadb3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/dmtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static int omap_dm_timer_reset(struct omap_dm_timer *timer)
return 0;
}

int omap_dm_timer_prepare(struct omap_dm_timer *timer)
static int omap_dm_timer_prepare(struct omap_dm_timer *timer)
{
int rc;

Expand Down
2 changes: 0 additions & 2 deletions arch/arm/plat-omap/include/plat/dmtimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,6 @@ struct omap_dm_timer {
struct list_head node;
};

int omap_dm_timer_prepare(struct omap_dm_timer *timer);

static inline u32 __omap_dm_timer_read(struct omap_dm_timer *timer, u32 reg,
int posted)
{
Expand Down

0 comments on commit b0cadb3

Please sign in to comment.