From 9999e48639b3cecb08ffb37358bcba3b48161b29 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 08:50:17 +0000
Subject: [PATCH] add ax88772_rst
---
kernel/drivers/mmc/core/crypto.h | 25 ++++++++++++++++---------
1 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/kernel/drivers/mmc/core/crypto.h b/kernel/drivers/mmc/core/crypto.h
index 74145c3..fbe9a52 100644
--- a/kernel/drivers/mmc/core/crypto.h
+++ b/kernel/drivers/mmc/core/crypto.h
@@ -1,5 +1,7 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
+ * MMC crypto engine (inline encryption) support
+ *
* Copyright 2020 Google LLC
*/
@@ -8,26 +10,31 @@
struct mmc_host;
struct mmc_queue_req;
-struct request;
struct request_queue;
#ifdef CONFIG_MMC_CRYPTO
-void mmc_crypto_setup_queue(struct mmc_host *host, struct request_queue *q);
+void mmc_crypto_set_initial_state(struct mmc_host *host);
-void mmc_crypto_free_host(struct mmc_host *host);
+void mmc_crypto_setup_queue(struct request_queue *q, struct mmc_host *host);
void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq);
#else /* CONFIG_MMC_CRYPTO */
-static inline void mmc_crypto_setup_queue(struct mmc_host *host,
- struct request_queue *q) { }
+static inline void mmc_crypto_set_initial_state(struct mmc_host *host)
+{
+}
-static inline void mmc_crypto_free_host(struct mmc_host *host) { }
+static inline void mmc_crypto_setup_queue(struct request_queue *q,
+ struct mmc_host *host)
+{
+}
-static inline void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq) { }
+static inline void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq)
+{
+}
-#endif /* CONFIG_MMC_CRYPTO */
+#endif /* !CONFIG_MMC_CRYPTO */
#endif /* _MMC_CORE_CRYPTO_H */
--
Gitblit v1.6.2