mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
make kernel_shutdown_prepare() static
kernel_shutdown_prepare() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
47a460d5a3
commit
4ef7229ffa
2 changed files with 1 additions and 3 deletions
|
|
@ -315,7 +315,7 @@ static void kernel_kexec(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
void kernel_shutdown_prepare(enum system_states state)
|
||||
static void kernel_shutdown_prepare(enum system_states state)
|
||||
{
|
||||
blocking_notifier_call_chain(&reboot_notifier_list,
|
||||
(state == SYSTEM_HALT)?SYS_HALT:SYS_POWER_OFF, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue