![]() [ Upstream commit 6a0b8c0da8d8d418cde6894a104cf74e6098ddfa ]
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:
|
||
---|---|---|
.. | ||
Documentation | ||
Kconfig | ||
Makefile | ||
TODO | ||
arche-apb-ctrl.c | ||
arche-platform.c | ||
arche_platform.h | ||
audio_apbridgea.c | ||
audio_apbridgea.h | ||
audio_codec.c | ||
audio_codec.h | ||
audio_gb.c | ||
audio_helper.c | ||
audio_helper.h | ||
audio_manager.c | ||
audio_manager.h | ||
audio_manager_module.c | ||
audio_manager_private.h | ||
audio_manager_sysfs.c | ||
audio_module.c | ||
audio_topology.c | ||
authentication.c | ||
bootrom.c | ||
camera.c | ||
firmware.h | ||
fw-core.c | ||
fw-download.c | ||
fw-management.c | ||
gb-camera.h | ||
gbphy.c | ||
gbphy.h | ||
gpio.c | ||
greybus_authentication.h | ||
greybus_firmware.h | ||
hid.c | ||
i2c.c | ||
light.c | ||
log.c | ||
loopback.c | ||
power_supply.c | ||
pwm.c | ||
raw.c | ||
sdio.c | ||
spi.c | ||
spilib.c | ||
spilib.h | ||
uart.c | ||
usb.c | ||
vibrator.c |