crypto: cavium/nitrox - Fix build with !CONFIG_DEBUG_FS
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")
Signed-off-by Eric Biggers <[email protected]>
--- drivers/crypto/cavium/nitrox/nitrox_debugfs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/crypto/cavium/nitrox/nitrox_debugfs.h +1 -2
@@ -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
Herbert Xu
maintainerQuoted 7 lines · Eric Biggers
From: Eric Biggers <[email protected]>
Fixes cf718eaa8f9b ("crypto: cavium/nitrox - Enabled Mailbox support")Signed-off-by Eric Biggers <[email protected]>--- 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