diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-04-19 12:42:35 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-04-19 13:08:58 -0700 |
commit | f4e772708bde3e4e1d184190a7f0be2417d2029a (patch) | |
tree | 4b668c02a9a6dca2704e6d0a8b3cb8e5c9e95b76 /include/power_button.h | |
parent | d5d2159c6d215b3a0feca42d961985cd37603ca8 (diff) | |
download | chrome-ec-f4e772708bde3e4e1d184190a7f0be2417d2029a.tar.gz |
Added HOOK_INIT for driver module inits
This covers modules which need to initialize before task_start(), but
don't particularly care in what order they're initialized.
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=none
TEST=if it boots, it works
Change-Id: I69829aac8d1c3c14ee04916a794b84bbf03a09eb
Diffstat (limited to 'include/power_button.h')
-rw-r--r-- | include/power_button.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/power_button.h b/include/power_button.h index c6cf4f4e24..b25b90661a 100644 --- a/include/power_button.h +++ b/include/power_button.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -11,9 +11,6 @@ #include "common.h" #include "gpio.h" -/* Initializes the module. */ -int power_button_init(void); - /* Interrupt handler for the power button and lid switch. Passed the signal * which triggered the interrupt. */ void power_button_interrupt(enum gpio_signal signal); |