VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Michael Ellerman <mpe@ellerman.id.au> 2021-04-16 21:38:04 +1000 committer: Michael Ellerman <mpe@ellerman.id.au> 2021-04-16 23:57:51 +1000 commit: 0751fdf280416847d31d9b7276e4afc614fc6e15 parent: 7767d9ac89cee29c68f5dd278b3bb411d1c69287
Commit Summary:
macintosh/via-pmu: Fix build warning
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
index 478766434919..4bdd4c45e7a7 100644
--- a/drivers/macintosh/via-pmu.c
+++ b/drivers/macintosh/via-pmu.c
@@ -187,7 +187,6 @@ static int query_batt_timer = BATTERY_POLLING_COUNT;
 static struct adb_request batt_req;
 static struct proc_dir_entry *proc_pmu_batt[PMU_MAX_BATTERIES];
 
-static int __fake_sleep;
 int asleep;
 
 #ifdef CONFIG_ADB
@@ -1833,6 +1832,7 @@ pmu_present(void)
  */
  
 static u32 save_via[8];
+static int __fake_sleep;
 
 static void
 save_via_state(void)