Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f91f5f05 authored by Libo Chen's avatar Libo Chen Committed by John W. Linville
Browse files

drivers/net/wireless/brcm80211/brcmfmac: add missing platform_driver owner



set the owner of platform_driver, to ensure that the
caller of driver holds a module refernece

Signed-off-by: default avatarLibo Chen <libo.chen@huawei.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b60186f8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -606,7 +606,8 @@ static int brcmf_sdio_pd_remove(struct platform_device *pdev)
static struct platform_driver brcmf_sdio_pd = {
	.remove		= brcmf_sdio_pd_remove,
	.driver		= {
		.name	= BRCMFMAC_SDIO_PDATA_NAME
		.name	= BRCMFMAC_SDIO_PDATA_NAME,
		.owner	= THIS_MODULE,
	}
};