Skip to content

Commit e4c7279

Browse files
mchehabbjorn-helgaas
authored andcommitted
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. Link: https://lore.kernel.org/r/53b40494252444a9b830827922c4e3a301b8f863.1634812676.git.mchehab+huawei@kernel.org Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Xiaowei Song <[email protected]>
1 parent dc47d2f commit e4c7279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/dwc/pcie-kirin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ static struct platform_driver kirin_pcie_driver = {
828828
.suppress_bind_attrs = true,
829829
},
830830
};
831-
builtin_platform_driver(kirin_pcie_driver);
831+
module_platform_driver(kirin_pcie_driver);
832832

833833
MODULE_DEVICE_TABLE(of, kirin_pcie_match);
834834
MODULE_DESCRIPTION("PCIe host controller driver for Kirin Phone SoCs");

0 commit comments

Comments
 (0)