summaryrefslogtreecommitdiffstats
path: root/drivers/platform/Makefile
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@mellanox.com>2018-01-17 18:21:53 +0000
committerDarren Hart (VMware) <dvhart@infradead.org>2018-01-31 10:36:48 -0800
commit1f976f6978bf6156ce822eb279ac86c519b10329 (patch)
tree1b05ed8ee96591c4ec185b904330dad29e5c5ec8 /drivers/platform/Makefile
parentd6fa7588fd7a8def4c747c0c574ce85d453e3788 (diff)
downloadlinux-1f976f6978bf6156ce822eb279ac86c519b10329.tar.bz2
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>
Diffstat (limited to 'drivers/platform/Makefile')
-rw-r--r--drivers/platform/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/Makefile b/drivers/platform/Makefile
index d3a6630266a0..4b2ce58bcd9c 100644
--- a/drivers/platform/Makefile
+++ b/drivers/platform/Makefile
@@ -4,6 +4,7 @@
#
obj-$(CONFIG_X86) += x86/
+obj-$(CONFIG_MELLANOX_PLATFORM) += mellanox/
obj-$(CONFIG_MIPS) += mips/
obj-$(CONFIG_OLPC) += olpc/
obj-$(CONFIG_GOLDFISH) += goldfish/