]> git.baikalelectronics.ru Git - kernel.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)
commita89f3ef9915e12f174b5a8b7d42fa59e565e2404
tree1b05ed8ee96591c4ec185b904330dad29e5c5ec8
parent2aed627ef755cba093b87d6fbf97560c60d71027
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>
12 files changed:
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 [new file with mode: 0644]
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/mlx-platform.c
drivers/platform/x86/mlxcpld-hotplug.c [deleted file]
include/linux/platform_data/mlxcpld-hotplug.h [deleted file]
include/linux/platform_data/mlxreg.h [new file with mode: 0644]