intel_mid_hsi: [REVERT ME] CTP kernel compilation failure if OSPM disabled.
authorYouvedeep Singh <youvedeep.singh@intel.com>
Fri, 6 Apr 2012 05:15:47 +0000 (10:45 +0530)
committerbuildbot <buildbot@intel.com>
Sun, 8 Apr 2012 19:44:39 +0000 (12:44 -0700)
commitb6d6a925a71607118d1ceccd15532f3044002be5
treec9d80349a8b00f4215f313a9ec83d82dc09895cb
parent47a83d385a83d8589350a129bfff862882eb95da
intel_mid_hsi: [REVERT ME] CTP kernel compilation failure if OSPM disabled.

BZ: 30716

This Patch Avoids the compilation failure on CVTP Platform if OSPM is not enabled.
As enable_standby is defined in mfld_pmu file. If OSPM will be disbaledi, mfld-pmu.c file will
compile and enable_stadby will not be defined. And compilation failure will occur.
Error Detail:
drivers/built-in.o: In function `intel_hsi_init':
/home/kratos/android/ics_main/hardware/intel/linux-2.6/drivers/hsi/controllers/intel_mid_hsi.c:
3463:undefined reference to `enable_standby'
make[2]:: *** [.tmp_vmlinux1] Error 1
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory
`/home/kratos/android/ics_main/hardware/intel/linux-2.6'
make: *** [get_kernel_from_source] Error 1
This workaround is Tracked through 28529.

Signed-off-by: Renganathan, Prabu <prabu.renganathan@intel.com>
Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
Change-Id: I71ea506a7b9988922deab6bd93bfcb5d6f1fb882
Reviewed-on: http://android.intel.com:8080/42606
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Tested-by: Seibel, Eric <eric.seibel@intel.com>
Reviewed-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Tested-by: Cuesta, FernandX <fernandx.cuesta@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/hsi/controllers/intel_mid_hsi.c
include/linux/hsi/intel_mid_hsi.h