]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86: Move Mellanox platform hotplug driver to platform/mellanox
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 17 Jan 2018 18:21:53 +0000 (18:21 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 31 Jan 2018 18:36:48 +0000 (10:36 -0800)
commit1f976f6978bf6156ce822eb279ac86c519b10329
tree1b05ed8ee96591c4ec185b904330dad29e5c5ec8
parentd6fa7588fd7a8def4c747c0c574ce85d453e3788
platform/x86: Move Mellanox platform hotplug driver to platform/mellanox

In preparation for making the hotplug driver build for different
architectures, move mlxcpld-hotplug.c to platform/mellanox and the
header to include/linux/platform_data as mlxreg.h to reflect the new
interface changes to come.

Replace references to CPLD with REG throughout the files, consistent
with the new name.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
[dvhart: update copyright, rewrite commit message]
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
MAINTAINERS
drivers/platform/Kconfig
drivers/platform/Makefile
drivers/platform/mellanox/Kconfig [new file with mode: 0644]
drivers/platform/mellanox/Makefile [new file with mode: 0644]
drivers/platform/mellanox/mlxreg-hotplug.c [moved from drivers/platform/x86/mlxcpld-hotplug.c with 65% similarity]
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/mlx-platform.c
include/linux/platform_data/mlxreg.h [moved from include/linux/platform_data/mlxcpld-hotplug.h with 84% similarity]