lm3s: avoid exporting unused function clock_get_rate().
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 4 May 2010 08:54:46 +0000 (08:54 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 4 May 2010 08:54:46 +0000 (08:54 +0000)
commite30754a435926bbf85dfe5c70a2475affff6d6a5
tree22bc277240b16d0dc9d21ca97978819b8e1a9c29
parent43b3ea59907e7000bbef58a906cd5bb48c5b9234
lm3s: avoid exporting unused function clock_get_rate().

The clock frequency can be always evaluated at compile time using
CPU_FREQ. Keep the clock_get_rate() as private function for debugging
purposes.

Moreover, rename clock_set_rate() to the more clear name clock_init().

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3598 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/cortex-m3/drv/clock_lm3s.c
bertos/cpu/cortex-m3/drv/clock_lm3s.h