Subject: [PATCH v2 11/11] ocxl: Add PCI hotplug dependency to Kconfig

From: Frederic Barrat <[email-masked]>
Date: Thu, 21 Nov 2019 14:49:18 +0100

The PCI hotplug framework is used to update the devices when a new
image is written to the FPGA.

Reviewed-by: Alastair D'Silva <[email-masked]>
Reviewed-by: Andrew Donnellan <[email-masked]>
Signed-off-by: Frederic Barrat <[email-masked]>
---
Changelog:
v2: no change

 drivers/misc/ocxl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/ocxl/Kconfig b/drivers/misc/ocxl/Kconfig
index 1916fa65f2f2..2d2266c1439e 100644
--- a/drivers/misc/ocxl/Kconfig
+++ b/drivers/misc/ocxl/Kconfig
@@ -11,6 +11,7 @@ config OCXL
 	tristate "OpenCAPI coherent accelerator support"
 	depends on PPC_POWERNV && PCI && EEH
 	select OCXL_BASE
+	select HOTPLUG_PCI_POWERNV
 	default m
 	help
 	  Select this option to enable the ocxl driver for Open
-- 
2.21.0