]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
crypto: cavium/nitrox - Fix build with !CONFIG_DEBUG_FS
authorEric Biggers <ebiggers@google.com>
Sun, 16 Dec 2018 23:00:30 +0000 (15:00 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 23 Dec 2018 03:52:44 +0000 (11:52 +0800)
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>
drivers/crypto/cavium/nitrox/nitrox_debugfs.h

index 7b701ea6227afdd9f475ed5eadb9d40b52bddf09..a8d85ffa619ca4dd1a784cff2d282e5947342158 100644 (file)
@@ -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 */