diff mbox series

crypto: cavium/nitrox - Fix build with !CONFIG_DEBUG_FS

Message ID 20181216230030.26206-1-ebiggers@kernel.org (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series crypto: cavium/nitrox - Fix build with !CONFIG_DEBUG_FS | expand

Commit Message

Eric Biggers Dec. 16, 2018, 11 p.m. UTC
From: Eric Biggers <ebiggers@google.com>

Fixes: cf718eaa8f9b ("crypto: cavium/nitrox - Enabled Mailbox support")
Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 drivers/crypto/cavium/nitrox/nitrox_debugfs.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Herbert Xu Dec. 23, 2018, 4:03 a.m. UTC | #1
On Sun, Dec 16, 2018 at 03:00:30PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> Fixes: cf718eaa8f9b ("crypto: cavium/nitrox - Enabled Mailbox support")
> Signed-off-by: Eric Biggers <ebiggers@google.com>
> ---
>  drivers/crypto/cavium/nitrox/nitrox_debugfs.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/drivers/crypto/cavium/nitrox/nitrox_debugfs.h b/drivers/crypto/cavium/nitrox/nitrox_debugfs.h
index 7b701ea6227af..a8d85ffa619ca 100644
--- a/drivers/crypto/cavium/nitrox/nitrox_debugfs.h
+++ b/drivers/crypto/cavium/nitrox/nitrox_debugfs.h
@@ -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 */