pcie: fix build warning

1. WARNING: modpost: vmlinux: section mismatch in reference: k1x_pcie_driver+0x0 (section: .data) -> k1x_pcie_probe (section: .init.text)

Change-Id: I3a9cd3656bbeeb956cc6b1518f68391fa2715e17
Signed-off-by: lijuan <juan.li@spacemit.com>
This commit is contained in:
lijuan
2024-12-25 14:52:21 +08:00
committed by 张猛
parent 210b41d052
commit c2ca7b805f

View File

@@ -1563,7 +1563,7 @@ static int k1x_power_on(struct k1x_pcie *k1x, int on)
return 0;
}
static int __init k1x_pcie_probe(struct platform_device *pdev)
static int k1x_pcie_probe(struct platform_device *pdev)
{
u32 reg;
int ret;