diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-05-19 13:15:21 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-03 08:59:12 +0200 |
| commit | d1dcd53a45e14b04677611345fc1fd60d1afc1cf (patch) | |
| tree | 9d8fa69155faa7503f440baff41050c8d680cef3 /drivers/platform | |
| parent | feb5d3618a1839767146cac2621fdedaf6960a24 (diff) | |
| download | linux-d1dcd53a45e14b04677611345fc1fd60d1afc1cf.tar.gz linux-d1dcd53a45e14b04677611345fc1fd60d1afc1cf.tar.bz2 linux-d1dcd53a45e14b04677611345fc1fd60d1afc1cf.zip | |
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>
Diffstat (limited to 'drivers/platform')
| -rw-r--r-- | drivers/platform/x86/intel_punit_ipc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel_punit_ipc.c b/drivers/platform/x86/intel_punit_ipc.c index fa97834fdb78..ccb44f2eb240 100644 --- a/drivers/platform/x86/intel_punit_ipc.c +++ b/drivers/platform/x86/intel_punit_ipc.c @@ -328,6 +328,7 @@ static const struct acpi_device_id punit_ipc_acpi_ids[] = { { "INT34D4", 0 }, { } }; +MODULE_DEVICE_TABLE(acpi, punit_ipc_acpi_ids); static struct platform_driver intel_punit_ipc_driver = { .probe = intel_punit_ipc_probe, |
