diff options
| author | Krzysztof Kozlowski <[email protected]> | 2023-03-16 16:03:24 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2023-03-20 13:43:35 +0000 |
| commit | d7b2b9387edac5a93058dcbf9b70017a764bfd18 (patch) | |
| tree | 352de15a01145a63a8c87039fb45e2e7cef5d55f /drivers/platform/x86/intel/vsec.c | |
| parent | platform/x86: pcengines-apuv2: Drop platform:pcengines-apuv2 module-alias (diff) | |
| download | kernel-d7b2b9387edac5a93058dcbf9b70017a764bfd18.tar.gz kernel-d7b2b9387edac5a93058dcbf9b70017a764bfd18.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/vsec.c')
0 files changed, 0 insertions, 0 deletions
