]> git.baikalelectronics.ru Git - kernel.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)
commit5fe6f6458c0d8a28b46bbc36bfbb468074b4002e
tree4603df746d1041b519b6ec2f4f4f2ce88831ce5d
parent319eaea6c41a0e1104aa530ed7ece7fed426aadd
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: c8a6f46f85c6 ("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