diff options
| author | Arnd Bergmann <[email protected]> | 2023-10-23 18:06:58 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2023-10-23 18:07:36 +0000 |
| commit | 9bc633117d6a8411c6912cb0194b3e0f83ef9d56 (patch) | |
| tree | d81fe8c0c0dac6b2969f1f32d746278d238b57e5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | hte: tegra194: don't access struct gpio_chip (diff) | |
| download | kernel-9bc633117d6a8411c6912cb0194b3e0f83ef9d56.tar.gz kernel-9bc633117d6a8411c6912cb0194b3e0f83ef9d56.zip | |
hte: tegra194: add GPIOLIB dependency
The driver started calling into a few interfaces that are part of GPIOLIB and
don't have stub implementations otherwise:
drivers/hte/hte-tegra194.c: In function 'tegra_hte_line_xlate':
drivers/hte/hte-tegra194.c:424:48: error: implicit declaration of function 'gpio_device_get_base'; did you mean 'gpio_device_get_desc'? [-Werror=implicit-function-declaration]
424 | line_id = desc->attr.line_id - gpio_device_get_base(gs->gdev);
| ^~~~~~~~~~~~~~~~~~~~
| gpio_device_get_desc
Add a Kconfig dependency to only allow building when this is defined.
Fixes: dc850faa28ee0 ("hte: tegra194: don't access struct gpio_chip")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Dipen Patel <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
