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
5151 extern struct of_pci_range *of_pci_range_parser_one(
5252 struct of_pci_range_parser *parser,
5353 struct of_pci_range *range);
54−extern int of_dma_get_range(struct device_node *np, u64 *dma_addr,
55− u64 *paddr, u64 *size);
5654 extern bool of_dma_is_coherent(struct device_node *np);
5755 #else /* CONFIG_OF_ADDRESS */
5856 static 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
9290 return NULL;
9391 }
9492
95−static inline int of_dma_get_range(struct device_node *np, u64 *dma_addr,
96− u64 *paddr, u64 *size)
97−{
98− return -ENODEV;
99−}
100−
10193 static inline bool of_dma_is_coherent(struct device_node *np)
10294 {
10395 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