mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-23 02:04:02 +00:00
Using a namespace variant to make clear it is only intended to be used by the vendor-specific modules. The symbol will only truly export the symbols when the driver and consequently the vendor-specific part are built as kernel modules. Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com> Reviewed-by: Franky Lin <franky.lin@broadcom.com> Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20221129135446.151065-8-arend.vanspriel@broadcom.com
28 lines
549 B
C
28 lines
549 B
C
// SPDX-License-Identifier: ISC
|
|
/*
|
|
* Copyright (c) 2022 Broadcom Corporation
|
|
*/
|
|
#include <linux/module.h>
|
|
#include <bus.h>
|
|
#include <core.h>
|
|
#include <fwvid.h>
|
|
|
|
#include "vops.h"
|
|
|
|
static int __init brcmf_wcc_init(void)
|
|
{
|
|
return brcmf_fwvid_register_vendor(BRCMF_FWVENDOR_WCC, THIS_MODULE,
|
|
&brcmf_wcc_ops);
|
|
}
|
|
|
|
static void __exit brcmf_wcc_exit(void)
|
|
{
|
|
brcmf_fwvid_unregister_vendor(BRCMF_FWVENDOR_WCC, THIS_MODULE);
|
|
}
|
|
|
|
MODULE_LICENSE("Dual BSD/GPL");
|
|
MODULE_IMPORT_NS(BRCMFMAC);
|
|
|
|
module_init(brcmf_wcc_init);
|
|
module_exit(brcmf_wcc_exit);
|