提交 b0cadb3c 编写于 作者: J Jon Hunter

ARM: OMAP: Define omap_dm_timer_prepare function as static

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: NJon Hunter <jon-hunter@ti.com>
上级 ae6672cb
...@@ -128,7 +128,7 @@ static int omap_dm_timer_reset(struct omap_dm_timer *timer) ...@@ -128,7 +128,7 @@ static int omap_dm_timer_reset(struct omap_dm_timer *timer)
return 0; 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; int rc;
......
...@@ -286,8 +286,6 @@ struct omap_dm_timer { ...@@ -286,8 +286,6 @@ struct omap_dm_timer {
struct list_head node; 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, static inline u32 __omap_dm_timer_read(struct omap_dm_timer *timer, u32 reg,
int posted) int posted)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册