]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (gsc-hwmon) fix module autoloading
authorLiao Chen <liaochen4@huawei.com>
Wed, 14 Aug 2024 02:45:55 +0000 (02:45 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 27 Aug 2024 15:10:23 +0000 (08:10 -0700)
commitfa8df3cbd3c0a1b62b4127d779fbf51eb17e22f1
treefd80b4d07afb20f9c91368cd436855b22a496ed9
parent63be321e5a096746b396fc43c7d25135a61617c9
hwmon: (gsc-hwmon) fix module autoloading

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: Liao Chen <liaochen4@huawei.com>
Message-ID: <20240814024555.3875387-1-liaochen4@huawei.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/gsc-hwmon.c