]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 19 May 2021 10:15:21 +0000 (13:15 +0300)
committerHans de Goede <hdegoede@redhat.com>
Wed, 19 May 2021 13:59:47 +0000 (15:59 +0200)
commite19aabcf84340a263c84c547785215cf13bcddef
tree6f1002bbceb037b8d15f31d710faf1ce6ec4bf93
parent8b13b510dcb70bbd8370be274a743bb441eed698
platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI

The intel_punit_ipc driver might be compiled as a module.
When udev handles the event of the devices appearing
the intel_punit_ipc module is missing.

Append MODULE_DEVICE_TABLE for ACPI case to fix the loading issue.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210519101521.79338-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel_punit_ipc.c