diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-10-29 13:07:21 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-10-30 12:42:47 -0700 |
commit | 80467aff915c638b1c3f96a51becffd493791962 (patch) | |
tree | d23687ea6a1424d2fec3f658507357670e563c5a /include/clock.h | |
parent | ef89439cc03ef03bd95e81a43a4b3bc9f47fa8ba (diff) | |
download | chrome-ec-80467aff915c638b1c3f96a51becffd493791962.tar.gz |
Clean up clock module
No functional changes; just code cleanup. On LM4 this also #ifdef's
out the 'sleep' and 'pll' commands since they're big and we don't use
them.
BUG=chrome-os-partner:15579
BRANCH=none
TEST=boot system
Change-Id: I1b72d07d6cca2c783d7ac4c880119df3e88e356e
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/36799
Diffstat (limited to 'include/clock.h')
-rw-r--r-- | include/clock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clock.h b/include/clock.h index 4eb8a5b065..b2e3b81ac1 100644 --- a/include/clock.h +++ b/include/clock.h @@ -13,7 +13,7 @@ /** * Set the CPU clocks and PLLs. */ -int clock_init(void); +void clock_init(void); /** * Return the current clock frequency in Hz. @@ -28,7 +28,7 @@ int clock_get_freq(void); * be 1 unless you're briefly turning on the PLL to work * around a chip errata at init time. */ -int clock_enable_pll(int enable, int notify); +void clock_enable_pll(int enable, int notify); /** * Wait for a number of clock cycles. |