mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
efi/reboot: Make function pointer orig_pm_power_off static
The function pointer orig_pm_power_off is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'orig_pm_power_off' was not declared. Should it be static? Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Matt Fleming <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
c2ceb5fd4e
commit
68ee51cb77
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include <linux/efi.h>
|
||||
#include <linux/reboot.h>
|
||||
|
||||
void (*orig_pm_power_off)(void);
|
||||
static void (*orig_pm_power_off)(void);
|
||||
|
||||
int efi_reboot_quirk_mode = -1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue