mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
Fix mccroskey build
There's no chipset for mccroskey, so its keyboard code stopped compiling. BUG=chrome-os-partner:18343 BRANCH=none TEST=build mccroskey, spring, link Change-Id: If94dfaf2819f047a6aa825ee10aa1d320c8ca882 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/47566 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
committed by
ChromeBot
parent
3e9d365e2c
commit
95250857ad
@@ -34,6 +34,7 @@ enum chipset_state_mask {
|
||||
CHIPSET_STATE_SOFT_OFF), /* Any off state */
|
||||
};
|
||||
|
||||
#ifdef CONFIG_TASK_CHIPSET
|
||||
/**
|
||||
* Check if chipset is in a given state.
|
||||
*
|
||||
@@ -43,6 +44,13 @@ enum chipset_state_mask {
|
||||
* mask.
|
||||
*/
|
||||
int chipset_in_state(int state_mask);
|
||||
#else
|
||||
static inline int chipset_in_state(int state_mask)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Ask the chipset to exit the hard off state.
|
||||
|
||||
Reference in New Issue
Block a user