diff options
| author | 2023-10-03 08:04:53 +0000 | |
|---|---|---|
| committer | 2023-10-05 18:09:38 +0800 | |
| commit | a7bad167bdc3cf4c47c6a9ec4fc9b4ae18b4614d (patch) | |
| tree | d18fa19f26e696345a277219ba73f0e2b1d095e6 /scripts/generate_rust_target.rs | |
| parent | platform/chrome: cros_ec_proto: Mark outdata as const (diff) | |
| download | wireguard-linux-a7bad167bdc3cf4c47c6a9ec4fc9b4ae18b4614d.tar.xz wireguard-linux-a7bad167bdc3cf4c47c6a9ec4fc9b4ae18b4614d.zip | |
platform/chrome: cros_ec: fix compilation warning
When including cros_ec.h solely, the compiler emits the following
warning:
> 'struct cros_ec_device' declared inside parameter list
will not be visible outside of this definition or declaration
Fix it by forward declaration.
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Link: https://lore.kernel.org/r/20231003080453.4011301-1-tzungbi@kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
