lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 10 Aug 2021 11:55:42 +0200 From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org> To: Vinod Koul <vkoul@...nel.org>, Bjorn Helgaas <bhelgaas@...gle.com> Cc: linuxarm@...wei.com, mauro.chehab@...wei.com, Mauro Carvalho Chehab <mchehab+huawei@...nel.org>, Krzysztof WilczyĆski <kw@...ux.com>, Binghui Wang <wangbinghui@...ilicon.com>, Lorenzo Pieralisi <lorenzo.pieralisi@....com>, Rob Herring <robh@...nel.org>, Xiaowei Song <songxiaowei@...ilicon.com>, linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org Subject: [PATCH v10 11/11] PCI: kirin: Allow removing the driver Now that everything is in place at the poweroff sequence, this driver can use module_platform_driver(), which allows it to be removed. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org> --- drivers/pci/controller/dwc/pcie-kirin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-kirin.c b/drivers/pci/controller/dwc/pcie-kirin.c index 5535605ab1e7..7cbe434a3bd1 100644 --- a/drivers/pci/controller/dwc/pcie-kirin.c +++ b/drivers/pci/controller/dwc/pcie-kirin.c @@ -826,7 +826,7 @@ static struct platform_driver kirin_pcie_driver = { .suppress_bind_attrs = true, }, }; -builtin_platform_driver(kirin_pcie_driver); +module_platform_driver(kirin_pcie_driver); MODULE_DEVICE_TABLE(of, kirin_pcie_match); MODULE_DESCRIPTION("PCIe host controller driver for Kirin Phone SoCs"); -- 2.31.1
Powered by blists - more mailing lists