diff options
author | Jon Hunter <jon-hunter@ti.com> | 2012-09-28 13:21:09 -0400 |
---|---|---|
committer | Jon Hunter <jon-hunter@ti.com> | 2012-11-16 11:35:06 -0500 |
commit | b0cadb3c86fc99553b1f5c38c7770be1ad52aa26 (patch) | |
tree | 4ccc0d334334006cc679e11a32ae39996d35e8a9 /arch/arm/plat-omap | |
parent | ae6672cb47c8a7652e9aff182eb85a15994c9487 (diff) |
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: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/dmtimer.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/dmtimer.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index 4c28452ba078..efe47744b491 100644 --- a/arch/arm/plat-omap/dmtimer.c +++ b/arch/arm/plat-omap/dmtimer.c | |||
@@ -128,7 +128,7 @@ static int omap_dm_timer_reset(struct omap_dm_timer *timer) | |||
128 | return 0; | 128 | return 0; |
129 | } | 129 | } |
130 | 130 | ||
131 | int omap_dm_timer_prepare(struct omap_dm_timer *timer) | 131 | static int omap_dm_timer_prepare(struct omap_dm_timer *timer) |
132 | { | 132 | { |
133 | int rc; | 133 | int rc; |
134 | 134 | ||
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h index c5c890dabca4..40383b68a099 100644 --- a/arch/arm/plat-omap/include/plat/dmtimer.h +++ b/arch/arm/plat-omap/include/plat/dmtimer.h | |||
@@ -286,8 +286,6 @@ struct omap_dm_timer { | |||
286 | struct list_head node; | 286 | struct list_head node; |
287 | }; | 287 | }; |
288 | 288 | ||
289 | int omap_dm_timer_prepare(struct omap_dm_timer *timer); | ||
290 | |||
291 | static inline u32 __omap_dm_timer_read(struct omap_dm_timer *timer, u32 reg, | 289 | static inline u32 __omap_dm_timer_read(struct omap_dm_timer *timer, u32 reg, |
292 | int posted) | 290 | int posted) |
293 | { | 291 | { |