Home
last modified time | relevance | path

Searched hist:a7bad167bdc3cf4c47c6a9ec4fc9b4ae18b4614d (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/platform/chrome/
H A Dcros_ec.hdiff a7bad167bdc3cf4c47c6a9ec4fc9b4ae18b4614d Tue Oct 03 10:04:53 CEST 2023 Tzung-Bi Shih <tzungbi@kernel.org> 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>