From: Eric Biggers Date: Sun, 16 Dec 2018 23:00:30 +0000 (-0800) Subject: crypto: cavium/nitrox - Fix build with !CONFIG_DEBUG_FS X-Git-Tag: for-linus-20190104~81^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=dec5d0db0de7271c7616d713f6c434c6366c9bfb;p=linux-block.git crypto: cavium/nitrox - Fix build with !CONFIG_DEBUG_FS Fixes: cf718eaa8f9b ("crypto: cavium/nitrox - Enabled Mailbox support") Signed-off-by: Eric Biggers Signed-off-by: Herbert Xu --- 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 */