diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/async_tx/async_memcpy.c | 13 | ||||
-rw-r--r-- | crypto/async_tx/async_memset.c | 13 | ||||
-rw-r--r-- | crypto/async_tx/async_tx.c | 17 |
3 files changed, 3 insertions, 40 deletions
diff --git a/crypto/async_tx/async_memcpy.c b/crypto/async_tx/async_memcpy.c index 89e05556f3df..98e15bd0dcb5 100644 --- a/crypto/async_tx/async_memcpy.c +++ b/crypto/async_tx/async_memcpy.c | |||
@@ -90,19 +90,6 @@ async_memcpy(struct page *dest, struct page *src, unsigned int dest_offset, | |||
90 | } | 90 | } |
91 | EXPORT_SYMBOL_GPL(async_memcpy); | 91 | EXPORT_SYMBOL_GPL(async_memcpy); |
92 | 92 | ||
93 | static int __init async_memcpy_init(void) | ||
94 | { | ||
95 | return 0; | ||
96 | } | ||
97 | |||
98 | static void __exit async_memcpy_exit(void) | ||
99 | { | ||
100 | do { } while (0); | ||
101 | } | ||
102 | |||
103 | module_init(async_memcpy_init); | ||
104 | module_exit(async_memcpy_exit); | ||
105 | |||
106 | MODULE_AUTHOR("Intel Corporation"); | 93 | MODULE_AUTHOR("Intel Corporation"); |
107 | MODULE_DESCRIPTION("asynchronous memcpy api"); | 94 | MODULE_DESCRIPTION("asynchronous memcpy api"); |
108 | MODULE_LICENSE("GPL"); | 95 | MODULE_LICENSE("GPL"); |
diff --git a/crypto/async_tx/async_memset.c b/crypto/async_tx/async_memset.c index c14437238f4c..b896a6e5f673 100644 --- a/crypto/async_tx/async_memset.c +++ b/crypto/async_tx/async_memset.c | |||
@@ -80,19 +80,6 @@ async_memset(struct page *dest, int val, unsigned int offset, size_t len, | |||
80 | } | 80 | } |
81 | EXPORT_SYMBOL_GPL(async_memset); | 81 | EXPORT_SYMBOL_GPL(async_memset); |
82 | 82 | ||
83 | static int __init async_memset_init(void) | ||
84 | { | ||
85 | return 0; | ||
86 | } | ||
87 | |||
88 | static void __exit async_memset_exit(void) | ||
89 | { | ||
90 | do { } while (0); | ||
91 | } | ||
92 | |||
93 | module_init(async_memset_init); | ||
94 | module_exit(async_memset_exit); | ||
95 | |||
96 | MODULE_AUTHOR("Intel Corporation"); | 83 | MODULE_AUTHOR("Intel Corporation"); |
97 | MODULE_DESCRIPTION("asynchronous memset api"); | 84 | MODULE_DESCRIPTION("asynchronous memset api"); |
98 | MODULE_LICENSE("GPL"); | 85 | MODULE_LICENSE("GPL"); |
diff --git a/crypto/async_tx/async_tx.c b/crypto/async_tx/async_tx.c index 802a5ce437d9..6e37ad3f4417 100644 --- a/crypto/async_tx/async_tx.c +++ b/crypto/async_tx/async_tx.c | |||
@@ -42,6 +42,9 @@ static void __exit async_tx_exit(void) | |||
42 | async_dmaengine_put(); | 42 | async_dmaengine_put(); |
43 | } | 43 | } |
44 | 44 | ||
45 | module_init(async_tx_init); | ||
46 | module_exit(async_tx_exit); | ||
47 | |||
45 | /** | 48 | /** |
46 | * __async_tx_find_channel - find a channel to carry out the operation or let | 49 | * __async_tx_find_channel - find a channel to carry out the operation or let |
47 | * the transaction execute synchronously | 50 | * the transaction execute synchronously |
@@ -61,17 +64,6 @@ __async_tx_find_channel(struct async_submit_ctl *submit, | |||
61 | return async_dma_find_channel(tx_type); | 64 | return async_dma_find_channel(tx_type); |
62 | } | 65 | } |
63 | EXPORT_SYMBOL_GPL(__async_tx_find_channel); | 66 | EXPORT_SYMBOL_GPL(__async_tx_find_channel); |
64 | #else | ||
65 | static int __init async_tx_init(void) | ||
66 | { | ||
67 | printk(KERN_INFO "async_tx: api initialized (sync-only)\n"); | ||
68 | return 0; | ||
69 | } | ||
70 | |||
71 | static void __exit async_tx_exit(void) | ||
72 | { | ||
73 | do { } while (0); | ||
74 | } | ||
75 | #endif | 67 | #endif |
76 | 68 | ||
77 | 69 | ||
@@ -298,9 +290,6 @@ void async_tx_quiesce(struct dma_async_tx_descriptor **tx) | |||
298 | } | 290 | } |
299 | EXPORT_SYMBOL_GPL(async_tx_quiesce); | 291 | EXPORT_SYMBOL_GPL(async_tx_quiesce); |
300 | 292 | ||
301 | module_init(async_tx_init); | ||
302 | module_exit(async_tx_exit); | ||
303 | |||
304 | MODULE_AUTHOR("Intel Corporation"); | 293 | MODULE_AUTHOR("Intel Corporation"); |
305 | MODULE_DESCRIPTION("Asynchronous Bulk Memory Transactions API"); | 294 | MODULE_DESCRIPTION("Asynchronous Bulk Memory Transactions API"); |
306 | MODULE_LICENSE("GPL"); | 295 | MODULE_LICENSE("GPL"); |