File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,8 @@ EXPORT_SYMBOL_GPL(of_pci_get_devfn);
190
190
*
191
191
* Returns 0 on success or a negative error-code on failure.
192
192
*/
193
- int of_pci_parse_bus_range (struct device_node * node , struct resource * res )
193
+ static int of_pci_parse_bus_range (struct device_node * node ,
194
+ struct resource * res )
194
195
{
195
196
u32 bus_range [2 ];
196
197
int error ;
@@ -207,7 +208,6 @@ int of_pci_parse_bus_range(struct device_node *node, struct resource *res)
207
208
208
209
return 0 ;
209
210
}
210
- EXPORT_SYMBOL_GPL (of_pci_parse_bus_range );
211
211
212
212
/**
213
213
* of_get_pci_domain_nr - Find the host bridge domain number
Original file line number Diff line number Diff line change @@ -797,7 +797,6 @@ static inline u64 pci_rebar_size_to_bytes(int size)
797
797
struct device_node ;
798
798
799
799
#ifdef CONFIG_OF
800
- int of_pci_parse_bus_range (struct device_node * node , struct resource * res );
801
800
int of_get_pci_domain_nr (struct device_node * node );
802
801
int of_pci_get_max_link_speed (struct device_node * node );
803
802
u32 of_pci_get_slot_power_limit (struct device_node * node ,
@@ -813,12 +812,6 @@ int devm_of_pci_bridge_init(struct device *dev, struct pci_host_bridge *bridge);
813
812
bool of_pci_supply_present (struct device_node * np );
814
813
815
814
#else
816
- static inline int
817
- of_pci_parse_bus_range (struct device_node * node , struct resource * res )
818
- {
819
- return - EINVAL ;
820
- }
821
-
822
815
static inline int
823
816
of_get_pci_domain_nr (struct device_node * node )
824
817
{
You can’t perform that action at this time.
0 commit comments