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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user