]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: mlx-platform: fix module aliases
authorIvan Vecera <ivecera@redhat.com>
Mon, 22 Jan 2018 14:20:43 +0000 (15:20 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 31 Jan 2018 19:13:17 +0000 (11:13 -0800)
commit580d834fe166c695f37c942e9cd92d1743bdc5d4
tree4603df746d1041b519b6ec2f4f4f2ce88831ce5d
parent7805fa8d78d0ea8c9c5a6603960e8f23901c7f17
platform/x86: mlx-platform: fix module aliases

Missing prefix 'pn' in MODULE_ALIAS lines causes the module to
not load automatically. The driver should use MODULE_DEVICE_TABLE
together with existing mlxplat_dmi_table instead.

Fixes: 6613d18e9038 ("platform/x86: mlx-platform: Move module from arch/x86")
Cc: Vadim Pasternak <vadimp@mellanox.com>
Cc: Bjørn Mork <bjorn@mork.no>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Acked-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/mlx-platform.c