History

of: Make of_dma_get_range() private

of_dma_get_range() is only used within the DT core code, so remove the export and move the header declaration to the private header.

Rob Herring committed 7 years ago

Commit 6e6faf61 parent 3a9ac953 files · +11 −9Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/of_address.h+0−8
@@ -51,8 +51,6 @@ extern int of_pci_dma_range_parser_init(struct of_pci_range_parser *parser, · 50 unmodified lines
51extern struct of_pci_range *of_pci_range_parser_one(51extern struct of_pci_range *of_pci_range_parser_one(
52 struct of_pci_range_parser *parser,52 struct of_pci_range_parser *parser,
53 struct of_pci_range *range);53 struct of_pci_range *range);
54extern int of_dma_get_range(struct device_node *np, u64 *dma_addr,
55 u64 *paddr, u64 *size);
56extern bool of_dma_is_coherent(struct device_node *np);54extern bool of_dma_is_coherent(struct device_node *np);
57#else /* CONFIG_OF_ADDRESS */55#else /* CONFIG_OF_ADDRESS */
58static inline void __iomem *of_io_request_and_map(struct device_node *device,56static inline void __iomem *of_io_request_and_map(struct device_node *device,
@@ -92,12 +90,6 @@ static inline struct of_pci_range *of_pci_range_parser_one( · 33 unmodified lines
92 return NULL;90 return NULL;
93}91}
94 92
95static inline int of_dma_get_range(struct device_node *np, u64 *dma_addr,
96 u64 *paddr, u64 *size)
97{
98 return -ENODEV;
99}
100
101static inline bool of_dma_is_coherent(struct device_node *np)93static inline bool of_dma_is_coherent(struct device_node *np)
102{94{
103 return false;95 return false;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t