Skip to content

Commit

Permalink
msm-poweroff: Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
zqm64 committed Aug 18, 2020
1 parent 7133145 commit d59bc2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/power/reset/msm-poweroff.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int download_mode = 0;
static const int download_mode;
#endif

static int in_panic;
int in_panic = 0;

static int panic_prep_restart(struct notifier_block *this,
unsigned long event, void *ptr)
Expand All @@ -82,7 +82,6 @@ static struct notifier_block panic_blk = {
#define EDL_MODE_PROP "qcom,msm-imem-emergency_download_mode"
#define DL_MODE_PROP "qcom,msm-imem-download_mode"

int in_panic = 0;
static void *dload_mode_addr;
static bool dload_mode_enabled;
static void *emergency_dload_mode_addr;
Expand Down

0 comments on commit d59bc2c

Please sign in to comment.