platform/x86: x86-android-tablets: Move DMI match table into its own dmi.c file
authorHans de Goede <hdegoede@redhat.com>
Sun, 19 Feb 2023 16:43:03 +0000 (17:43 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 7 Mar 2023 11:08:30 +0000 (12:08 +0100)
commit3a75d1690b9adb116ca4d11578ff2fa358823382
tree70f745ec372da1c5a443984e9cf73076f8416e64
parent62a5f689a068951de5ed8487ec7f0de52245bd92
platform/x86: x86-android-tablets: Move DMI match table into its own dmi.c file

In order to have a single MODULE_DEVICE_TABLE(dmi, ...), while allowing
splitting the board descriptions into multiple files, add a new separate
file for the DMI match table.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230301092331.7038-5-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets/Makefile
drivers/platform/x86/x86-android-tablets/core.c
drivers/platform/x86/x86-android-tablets/dmi.c [new file with mode: 0644]
drivers/platform/x86/x86-android-tablets/x86-android-tablets-main.c
drivers/platform/x86/x86-android-tablets/x86-android-tablets.h