summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtllib_crypt.c
diff options
context:
space:
mode:
authorSean MacLennan <seanm@seanm.ca>2011-11-28 20:21:27 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-30 19:48:56 +0900
commitd37e0208df563af9c6fada84e620aabed581b3a8 (patch)
tree7e7823ea95be34313f27380d373eb1887abcd8c0 /drivers/staging/rtl8192e/rtllib_crypt.c
parent3b28499c5519e59fbe9c2dea49ece5a3665be787 (diff)
downloadop-kernel-dev-d37e0208df563af9c6fada84e620aabed581b3a8.zip
op-kernel-dev-d37e0208df563af9c6fada84e620aabed581b3a8.tar.gz
rtl8192e: Split the driver up
This patch splits the current r8192e_pci driver up into six different drivers: rtllib, rtllib_crypt, rtllib_crypt_ccmp, rtllib_crypt_tkip, rtllib_crypt_wep, and r8192e_pci. Now that they are proper modules, the init and exit functions do not need to be called directly. Also, the rtllib_*_null functions are not needed since they will be loaded on demand. Signed-off-by: Sean MacLennan <seanm@seanm.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_crypt.c')
-rw-r--r--drivers/staging/rtl8192e/rtllib_crypt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_crypt.c b/drivers/staging/rtl8192e/rtllib_crypt.c
index c268030..4665712 100644
--- a/drivers/staging/rtl8192e/rtllib_crypt.c
+++ b/drivers/staging/rtl8192e/rtllib_crypt.c
@@ -243,3 +243,8 @@ void __exit rtllib_crypto_deinit(void)
kfree(hcrypt);
}
+
+module_init(rtllib_crypto_init);
+module_exit(rtllib_crypto_deinit);
+
+MODULE_LICENSE("GPL");
OpenPOWER on IntegriCloud