OpenCloudOS-Kernel/drivers/platform/olpc
Krzysztof Kozlowski d7b2b9387e platform/olpc: olpc-xo175-ec: Use SPI device ID data to bind device
The driver defines spi_device_id table for module autoloading, but does
not use it in id_table which causes W=1 warning:

  drivers/platform/olpc/olpc-xo175-ec.c:737:35: error: ‘olpc_xo175_ec_id_table’ defined but not used [-Werror=unused-const-variable=]

Reference the SPI device ID table, so it can be also used for device
binding.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Link: https://lore.kernel.org/r/20230316160324.78856-1-krzysztof.kozlowski@linaro.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-03-20 14:43:35 +01:00
..
Kconfig Platform: OLPC: Add a config menu category for XO 1.75 2019-06-12 11:53:20 +03:00
Makefile platform-drivers-x86 for v5.3-1 2019-07-14 16:51:47 -07:00
olpc-ec.c platform/olpc: Fix uninitialized data in debugfs write 2022-07-28 20:40:15 +02:00
olpc-xo175-ec.c platform/olpc: olpc-xo175-ec: Use SPI device ID data to bind device 2023-03-20 14:43:35 +01:00