xref: /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/module.c (revision cdd30ebb1b9f36159d66f088b61aee264e649d7a)
1 // SPDX-License-Identifier: ISC
2 /*
3  * Copyright (c) 2022 Broadcom Corporation
4  */
5 #include <linux/module.h>
6 #include <bus.h>
7 #include <core.h>
8 #include <fwvid.h>
9 
10 #include "vops.h"
11 
brcmf_cyw_init(void)12 static int __init brcmf_cyw_init(void)
13 {
14 	return brcmf_fwvid_register_vendor(BRCMF_FWVENDOR_CYW, THIS_MODULE,
15 					   &brcmf_cyw_ops);
16 }
17 
brcmf_cyw_exit(void)18 static void __exit brcmf_cyw_exit(void)
19 {
20 	brcmf_fwvid_unregister_vendor(BRCMF_FWVENDOR_CYW, THIS_MODULE);
21 }
22 
23 MODULE_DESCRIPTION("Broadcom FullMAC WLAN driver plugin for Cypress/Infineon chipsets");
24 MODULE_LICENSE("Dual BSD/GPL");
25 MODULE_IMPORT_NS("BRCMFMAC");
26 
27 module_init(brcmf_cyw_init);
28 module_exit(brcmf_cyw_exit);
29