Skip to content

Commit bc1eca6

Browse files
andy-shevjwrdegoede
authored andcommitted
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>
1 parent 3a53587 commit bc1eca6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/platform/x86/intel_punit_ipc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ static const struct acpi_device_id punit_ipc_acpi_ids[] = {
312312
{ "INT34D4", 0 },
313313
{ }
314314
};
315+
MODULE_DEVICE_TABLE(acpi, punit_ipc_acpi_ids);
315316

316317
static struct platform_driver intel_punit_ipc_driver = {
317318
.probe = intel_punit_ipc_probe,

0 commit comments

Comments
 (0)