]> git.baikalelectronics.ru Git - kernel.git/commit
of/pci: Add of_pci_dma_range_parser_init() for dma-ranges parsing support
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Tue, 26 Sep 2017 10:22:54 +0000 (12:22 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Oct 2017 20:52:34 +0000 (15:52 -0500)
commitefedf76ad121ef82a2016bb676b4ea529f191e5b
treec029535eda482d732c3295188545691db805909c
parent3fb5e40d11aacb853b61d450dad9651aef613f01
of/pci: Add of_pci_dma_range_parser_init() for dma-ranges parsing support

Several host bridge drivers duplicate of_pci_range_parser_init() in order
to parse their dma-ranges property.

Provide of_pci_dma_range_parser_init() for that use case.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/of/address.c
include/linux/of_address.h