mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
platform/chrome: cros_ec_commands: fix compile errors
Fix compile errors when including cros_ec_commands.h solely. 1. cros_ec_commands.h:587:9: error: unknown type name 'uint8_t' 587 | uint8_t flags; | ^~~~~~~ 2. cros_ec_commands.h:1105:43: error: implicit declaration of function 'BIT' 1105 | EC_COMMS_STATUS_PROCESSING = BIT(0), | ^~~ Reviewed-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://lore.kernel.org/r/20220609084957.3684698-2-tzungbi@kernel.org
This commit is contained in:
parent
40f5814374
commit
ea7f0f777d
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@
|
|||
#ifndef __CROS_EC_COMMANDS_H
|
||||
#define __CROS_EC_COMMANDS_H
|
||||
|
||||
|
||||
|
||||
#include <linux/bits.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#define BUILD_ASSERT(_cond)
|
||||
|
||||
|
|
Loading…
Reference in a new issue