diff options
author | Prashant Malani <[email protected]> | 2022-07-18 18:55:51 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-07-18 22:42:27 +0200 |
commit | 88a15fbb47db483d06b12b1ae69f114b96361a96 (patch) | |
tree | 0f809ecf64d76834272d59f96c6def7836fc1dea /net/unix/af_unix.c | |
parent | dc14036fb3240a1bc2677cf8de33fbcb3af77826 (diff) |
platform/chrome: cros_typec_switch: Add ACPI Kconfig dep
Add the ACPI Kconfig dependency that was missed during the initial
driver submission. Fixes the following compiler errors:
drivers/platform/chrome/cros_typec_switch.c:93:9: error: call to
undeclared function 'acpi_evaluate_integer'; ISO C99 and later do not
support implicit function declarations
[-Wimplicit-function-declaration]
ret = acpi_evaluate_integer(adev->handle, "_ADR", NULL, &index);
drivers/platform/chrome/cros_typec_switch.c:93:35: error: incomplete
definition of type 'struct acpi_device'
ret = acpi_evaluate_integer(adev->handle, "_ADR", NULL, &index);
Fixes: e54369058f3d ("platform/chrome: cros_typec_switch: Add switch driver")
Reported-by: Reported-by: kernel test robot <[email protected]>
Signed-off-by: Prashant Malani <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions