Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ded38ca3 authored by Murali Nalajala's avatar Murali Nalajala
Browse files

msm: idle: fix pm-boot driver compilation errors



CONFIG_CPU_V7 is not defined for latest ARM based targets.
Due to this few variables and function definitions are not
visible to driver and this causes the driver compilation
failure(pm-boot.c).

Change-Id: I823bd14bd992bae5d079fddc6b717869c79e102e
Signed-off-by: default avatarMurali Nalajala <mnalajal@codeaurora.org>
parent f42d179a
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
/* Copyright (c) 2007-2009,2012-2013 The Linux Foundation. All rights reserved.
/* Copyright (c) 2007-2009,2012-2014 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -14,13 +14,10 @@
#ifndef _ARCH_ARM_MACH_MSM_IDLE_H_
#define _ARCH_ARM_MACH_MSM_IDLE_H_

#ifdef CONFIG_CPU_V7
#if defined(CONFIG_CPU_V7) || defined(CONFIG_ARM64)
extern unsigned long msm_pm_boot_vector[NR_CPUS];
void msm_pm_boot_entry(void);
#else
static inline void msm_pm_boot_entry(void)
{
	/* empty */
}
static inline void msm_pm_boot_entry(void) {}
#endif
#endif