platform/x86: classmate: mark SPI related data as maybe unused
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 12 Mar 2023 13:26:23 +0000 (14:26 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 16 Mar 2023 15:10:54 +0000 (16:10 +0100)
commite970607955eba62bb361e9dea493cd103e5ebd6b
treeeb12e2ce60949ba651195db55ec87c87726792dd
parentdaaa2a1f78347d73016b3a331fd48a0ca9e62192
platform/x86: classmate: mark SPI related data as maybe unused

The driver can be compile tested as built-in making certain data unused:

  drivers/platform/x86/classmate-laptop.c:1137:36: error: ‘cmpc_device_ids’ defined but not used [-Werror=unused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230312132624.352703-2-krzysztof.kozlowski@linaro.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/classmate-laptop.c