diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-11-14 12:11:34 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-11-14 12:11:34 -0600 |
commit | 2b61a44e115e346dcf248b4b35ae2aafed99bb78 (patch) | |
tree | 19f25ab595a2395b2b81b73a22c145dc0b0cd120 /include | |
parent | 9ff950304d2b39e00e090e71e7d1316d4e9fdd9d (diff) | |
parent | d76bdce394bf48140cbb33b07509c32df1cef8e7 (diff) | |
download | linux-stable-2b61a44e115e346dcf248b4b35ae2aafed99bb78.tar.gz linux-stable-2b61a44e115e346dcf248b4b35ae2aafed99bb78.tar.bz2 linux-stable-2b61a44e115e346dcf248b4b35ae2aafed99bb78.zip |
Merge branch 'pci/host-tango' into next
* pci/host-tango:
PCI: tango: Add MSI controller support
PCI: Use of_pci_dma_range_parser_init() to reduce duplication
of/pci: Add of_pci_dma_range_parser_init() for dma-ranges parsing support
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of_address.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/of_address.h b/include/linux/of_address.h index 37864734ca50..8beed2de98e9 100644 --- a/include/linux/of_address.h +++ b/include/linux/of_address.h @@ -49,6 +49,8 @@ extern const __be32 *of_get_address(struct device_node *dev, int index, extern int of_pci_range_parser_init(struct of_pci_range_parser *parser, struct device_node *node); +extern int of_pci_dma_range_parser_init(struct of_pci_range_parser *parser, + struct device_node *node); extern struct of_pci_range *of_pci_range_parser_one( struct of_pci_range_parser *parser, struct of_pci_range *range); @@ -85,7 +87,13 @@ static inline const __be32 *of_get_address(struct device_node *dev, int index, static inline int of_pci_range_parser_init(struct of_pci_range_parser *parser, struct device_node *node) { - return -1; + return -ENOSYS; +} + +static inline int of_pci_dma_range_parser_init(struct of_pci_range_parser *parser, + struct device_node *node) +{ + return -ENOSYS; } static inline struct of_pci_range *of_pci_range_parser_one( |