Subject: [PATCH] cxl: Fix potential build failure - select ANON_INODES

From: Ben Hutchings <[email-masked]>
Date: Wed, 16 Nov 2016 18:29:17 +0000

cxl calls anon_inode_get() so must select ANON_INODES.

Fixes: 6f7f0b3df6d4 ("cxl: Add AFU virtual PHB and kernel API")
Signed-off-by: Ben Hutchings <[email-masked]>
---
 drivers/misc/cxl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig
index b75cf830d08a..e745f77ac6a6 100644
--- a/drivers/misc/cxl/Kconfig
+++ b/drivers/misc/cxl/Kconfig
@@ -16,6 +16,7 @@ config CXL
 	depends on PPC_POWERNV && PCI_MSI && EEH
 	select CXL_BASE
 	select CXL_AFU_DRIVER_OPS
+	select ANON_INODES
 	default m
 	help
 	  Select this option to enable driver support for IBM Coherent