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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Jun 2021 06:36:22 +0000 (08:36 +0200)
commit6d98f003ab19410b8335ef6a34a4d34482f7dc79
treec7642171afd296c9fb026a2bf80450c6c6a92ea0
parentce0d1514d1598a53a5c24b476d1e079c49bc338c
platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI

[ Upstream commit bc1eca606d8084465e6f89fd646cc71defbad490 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/intel_punit_ipc.c