Commit c67f3df8 authored by Rob Herring's avatar Rob Herring

of: Drop struct of_pci_range.pci_space field

There's no more users of struct of_pci_range.pci_space field, so remove it.
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 6a9166b5
...@@ -736,7 +736,6 @@ struct of_pci_range *of_pci_range_parser_one(struct of_pci_range_parser *parser, ...@@ -736,7 +736,6 @@ struct of_pci_range *of_pci_range_parser_one(struct of_pci_range_parser *parser,
if (!parser->range || parser->range + parser->np > parser->end) if (!parser->range || parser->range + parser->np > parser->end)
return NULL; return NULL;
range->pci_space = be32_to_cpup(parser->range);
range->flags = of_bus_pci_get_flags(parser->range); range->flags = of_bus_pci_get_flags(parser->range);
range->pci_addr = of_read_number(parser->range + 1, ns); range->pci_addr = of_read_number(parser->range + 1, ns);
if (parser->dma) if (parser->dma)
......
...@@ -16,7 +16,6 @@ struct of_pci_range_parser { ...@@ -16,7 +16,6 @@ struct of_pci_range_parser {
}; };
struct of_pci_range { struct of_pci_range {
u32 pci_space;
u64 pci_addr; u64 pci_addr;
u64 cpu_addr; u64 cpu_addr;
u64 size; u64 size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment