summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVic Yang <victoryang@google.com>2015-01-07 16:14:10 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-20 20:56:43 +0000
commit8a5c38420bc77b148d46c9467f50921e29888899 (patch)
tree0ea2b45225ab12ce19fbd916cacf6b74ec820a73 /include
parent815cb8486655ade011128c6a2948bda4324dff0f (diff)
downloadchrome-ec-8a5c38420bc77b148d46c9467f50921e29888899.tar.gz
Initial Glower commit
The first commit for the Glower board. BRANCH=None BUG=chrome-os-partner:35308 TEST=Boot on Glower and check console is responsive. Change-Id: I73bc60b8d54b3c570f0822824ad9a66e0fe467a1 Signed-off-by: Vic Yang <victoryang@google.com> Reviewed-on: https://chromium-review.googlesource.com/239257 Tested-by: Vic Yang <victoryang@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/wireless.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wireless.h b/include/wireless.h
index c8231d055c..01a7668d31 100644
--- a/include/wireless.h
+++ b/include/wireless.h
@@ -20,6 +20,10 @@ enum wireless_power_state {
/**
* Set wireless power state.
*/
+#ifdef CONFIG_WIRELESS
void wireless_set_state(enum wireless_power_state state);
+#else
+static inline void wireless_set_state(enum wireless_power_state state) { }
+#endif
#endif /* __CROS_EC_WIRELESS_H */