diff options
| author | Ben Dooks <ben.dooks@codethink.co.uk> | 2026-01-09 15:45:07 +0300 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2026-05-28 18:19:30 +0300 |
| commit | 0ec0c5949106c5f1a7b50d4d7f34461cdd522264 (patch) | |
| tree | 3071961fde8b98ef0d72028d2a3a896ce7c44790 /include/linux/timerqueue.h | |
| parent | 63a3998d792ab5c45304bf879e385a31fa923b61 (diff) | |
| download | linux-0ec0c5949106c5f1a7b50d4d7f34461cdd522264.tar.xz | |
gpu: host1x: Fix missing 'host1x_context_device_bus_type'
The drivers/gpu/host1x/context_bus.c does not include any declaration of
host1x_context_device_bus_type, and after including "context.h" it also
showed that there are two definitions in the kernel because the extern
declaration was missing the const qualifier.
Include linux/host1x_context_bus.h and drop the wrong declaration from
context.h. While at it, also predeclare struct host1x_memory_context.
Fixes the following sparse warning:
drivers/gpu/host1x/context_bus.c:9:23: warning: symbol 'host1x_context_device_bus_type' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
[treding@nvidia.com: minor fixups, reword commit message to reflect changes]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/20260123140512.609167-1-ben.dooks@codethink.co.uk
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
