Skip to content

Commit

Permalink
ODROID-C3: g12a: scp_task: adjust adc key build condition
Browse files Browse the repository at this point in the history
Change-Id: Iab842952bdb88b176dc09ae95b1999ecc141af3d
  • Loading branch information
Joy Cho authored and tobetter committed Jul 16, 2018
1 parent a3298cb commit 276a71d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions arch/arm/cpu/armv8/g12a/firmware/scp_task/scp_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ int saradc_disable(void)
return 0;
}

#if defined(CONFIG_ADC_POWER_KEY_CHAN)
int check_adc_key_resume(void)
{
int value;
Expand All @@ -206,3 +207,4 @@ int check_adc_key_resume(void)
else
return 0;
}
#endif
2 changes: 0 additions & 2 deletions arch/arm/cpu/armv8/g12a/firmware/scp_task/suspend.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
unsigned int time;
#include <scp_remote.c>

#ifdef CONFIG_ADC_KEY
#include <scp_adc.c>
#endif
#include <pwr_ctrl.c>
#include <hdmi_cec_arc.c>

Expand Down

0 comments on commit 276a71d

Please sign in to comment.