diff options
author | Eric Biggers <ebiggers@google.com> | 2018-12-17 00:00:30 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-23 04:52:44 +0100 |
commit | dec5d0db0de7271c7616d713f6c434c6366c9bfb (patch) | |
tree | e6c13e6b82b47172384cc52bec0331219aba187d /drivers/crypto | |
parent | crypto: salsa20-generic - don't unnecessarily use atomic walk (diff) | |
download | linux-dec5d0db0de7271c7616d713f6c434c6366c9bfb.tar.xz linux-dec5d0db0de7271c7616d713f6c434c6366c9bfb.zip |
crypto: cavium/nitrox - Fix build with !CONFIG_DEBUG_FS
Fixes: cf718eaa8f9b ("crypto: cavium/nitrox - Enabled Mailbox support")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/cavium/nitrox/nitrox_debugfs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/cavium/nitrox/nitrox_debugfs.h b/drivers/crypto/cavium/nitrox/nitrox_debugfs.h index 7b701ea6227a..a8d85ffa619c 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 */ |