xref: /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/module.c (revision 7340c6df49df1b261892d287444c255d0a378063)
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 
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 
18 static void __exit brcmf_cyw_exit(void)
19 {
20 	brcmf_fwvid_unregister_vendor(BRCMF_FWVENDOR_CYW, THIS_MODULE);
21 }
22 
23 MODULE_LICENSE("Dual BSD/GPL");
24 MODULE_IMPORT_NS(BRCMFMAC);
25 
26 module_init(brcmf_cyw_init);
27 module_exit(brcmf_cyw_exit);
28