diff options
author | Arnd Bergmann <[email protected]> | 2024-04-03 10:06:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-04-09 17:51:31 +0200 |
commit | 6a0b8c0da8d8d418cde6894a104cf74e6098ddfa (patch) | |
tree | 1e1d30f94a315f25439394539bb0b9fd5f43a684 /tools/perf/scripts/python/task-analyzer.py | |
parent | 33a470713ad589e99a989189f58d4ee1bc8df1a8 (diff) |
greybus: arche-ctrl: move device table to its right location
The arche-ctrl has two platform drivers and three of_device_id tables,
but one table is only used for the the module loader, while the other
two seem to be associated with their drivers.
This leads to a W=1 warning when the driver is built-in:
drivers/staging/greybus/arche-platform.c:623:34: error: 'arche_combined_id' defined but not used [-Werror=unused-const-variable=]
623 | static const struct of_device_id arche_combined_id[] = {
Drop the extra table and register both tables that are actually
used as the ones for the module loader instead.
Fixes: 7b62b61c752a ("greybus: arche-ctrl: Don't expose driver internals to arche-platform driver")
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions