File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ static const char * const iommu_group_resv_type_string[] = {
90
90
#define IOMMU_CMD_LINE_DMA_API BIT(0)
91
91
#define IOMMU_CMD_LINE_STRICT BIT(1)
92
92
93
+ static int bus_iommu_probe (const struct bus_type * bus );
93
94
static int iommu_bus_notifier (struct notifier_block * nb ,
94
95
unsigned long action , void * data );
95
96
static void iommu_release_device (struct device * dev );
@@ -1795,7 +1796,7 @@ static void iommu_group_do_probe_finalize(struct device *dev)
1795
1796
ops -> probe_finalize (dev );
1796
1797
}
1797
1798
1798
- int bus_iommu_probe (const struct bus_type * bus )
1799
+ static int bus_iommu_probe (const struct bus_type * bus )
1799
1800
{
1800
1801
struct iommu_group * group , * next ;
1801
1802
LIST_HEAD (group_list );
Original file line number Diff line number Diff line change @@ -784,7 +784,6 @@ static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather)
784
784
};
785
785
}
786
786
787
- extern int bus_iommu_probe (const struct bus_type * bus );
788
787
extern bool iommu_present (const struct bus_type * bus );
789
788
extern bool device_iommu_capable (struct device * dev , enum iommu_cap cap );
790
789
extern bool iommu_group_has_isolated_msi (struct iommu_group * group );
You can’t perform that action at this time.
0 commit comments