Skip to contentSkip to conversation

crypto: cavium/nitrox - Fix build with !CONFIG_DEBUG_FS

PATCH In review Eric Biggers 2 participants 2 messages Dec 16, 2018 – Dec 23, 2018 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: cavium/nitrox - Fix build with !CONFIG_DEBUG_FS

From: Eric Biggers <[email protected]>

Fixes cf718eaa8f9b ("crypto: cavium/nitrox - Enabled Mailbox support")
---
 drivers/crypto/cavium/nitrox/nitrox_debugfs.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/crypto/cavium/nitrox/nitrox_debugfs.h +1 -2
index 7b701ea6227af..a8d85ffa619ca 100644
@@ -13,9 +13,8 @@ static inline int nitrox_debugfs_init(struct nitrox_device *ndev)
 	return 0;
 }
 
-static inline int nitrox_sriov_debugfs_init(struct nitrox_device *ndev)
+static inline void nitrox_debugfs_exit(struct nitrox_device *ndev)
 {
-	return 0;
 }
 #endif /* !CONFIG_DEBUG_FS */
 
Signature · 1 line
2.19.2
maintainer
#1 lore raw
Quoted 7 lines · Eric Biggers

From: Eric Biggers <[email protected]>

Fixes cf718eaa8f9b ("crypto: cavium/nitrox - Enabled Mailbox support")
---
 drivers/crypto/cavium/nitrox/nitrox_debugfs.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt