File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
drivers/pci/controller/cadence Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -485,8 +485,7 @@ static int cdns_pcie_host_init_address_translation(struct cdns_pcie_rc *rc)
485
485
return cdns_pcie_host_map_dma_ranges (rc );
486
486
}
487
487
488
- static int cdns_pcie_host_init (struct device * dev ,
489
- struct cdns_pcie_rc * rc )
488
+ int cdns_pcie_host_init (struct cdns_pcie_rc * rc )
490
489
{
491
490
int err ;
492
491
@@ -564,7 +563,7 @@ int cdns_pcie_host_setup(struct cdns_pcie_rc *rc)
564
563
for (bar = RP_BAR0 ; bar <= RP_NO_BAR ; bar ++ )
565
564
rc -> avail_ib_bar [bar ] = true;
566
565
567
- ret = cdns_pcie_host_init (dev , rc );
566
+ ret = cdns_pcie_host_init (rc );
568
567
if (ret )
569
568
return ret ;
570
569
Original file line number Diff line number Diff line change @@ -522,6 +522,7 @@ static inline bool cdns_pcie_link_up(struct cdns_pcie *pcie)
522
522
523
523
#ifdef CONFIG_PCIE_CADENCE_HOST
524
524
int cdns_pcie_host_link_setup (struct cdns_pcie_rc * rc );
525
+ int cdns_pcie_host_init (struct cdns_pcie_rc * rc );
525
526
int cdns_pcie_host_setup (struct cdns_pcie_rc * rc );
526
527
void __iomem * cdns_pci_map_bus (struct pci_bus * bus , unsigned int devfn ,
527
528
int where );
@@ -531,6 +532,11 @@ static inline int cdns_pcie_host_link_setup(struct cdns_pcie_rc *rc)
531
532
return 0 ;
532
533
}
533
534
535
+ static inline int cdns_pcie_host_init (struct cdns_pcie_rc * rc )
536
+ {
537
+ return 0 ;
538
+ }
539
+
534
540
static inline int cdns_pcie_host_setup (struct cdns_pcie_rc * rc )
535
541
{
536
542
return 0 ;
You can’t perform that action at this time.
0 commit comments