diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
| commit | 53279f36dccffc26ff536003fd6bb97cc21c3b82 (patch) | |
| tree | 9d16e497c0e4158c7c054c479bd0e9ff0388d7bb /include/linux/of_address.h | |
| parent | a6e8c0a25377e27958b11b20e1927885ae7c9857 (diff) | |
| parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) | |
Merge tag 'v3.7-rc3' into next to sync up with recent USB and MFD changes
Diffstat (limited to 'include/linux/of_address.h')
| -rw-r--r-- | include/linux/of_address.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/of_address.h b/include/linux/of_address.h index 01b925ad8d78..a1984dd037da 100644 --- a/include/linux/of_address.h +++ b/include/linux/of_address.h | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | #ifdef CONFIG_OF_ADDRESS | 7 | #ifdef CONFIG_OF_ADDRESS |
| 8 | extern u64 of_translate_address(struct device_node *np, const __be32 *addr); | 8 | extern u64 of_translate_address(struct device_node *np, const __be32 *addr); |
| 9 | extern bool of_can_translate_address(struct device_node *dev); | ||
| 9 | extern int of_address_to_resource(struct device_node *dev, int index, | 10 | extern int of_address_to_resource(struct device_node *dev, int index, |
| 10 | struct resource *r); | 11 | struct resource *r); |
| 11 | extern struct device_node *of_find_matching_node_by_address( | 12 | extern struct device_node *of_find_matching_node_by_address( |
| @@ -18,7 +19,7 @@ extern void __iomem *of_iomap(struct device_node *device, int index); | |||
| 18 | * the address space flags too. The PCI version uses a BAR number | 19 | * the address space flags too. The PCI version uses a BAR number |
| 19 | * instead of an absolute index | 20 | * instead of an absolute index |
| 20 | */ | 21 | */ |
| 21 | extern const u32 *of_get_address(struct device_node *dev, int index, | 22 | extern const __be32 *of_get_address(struct device_node *dev, int index, |
| 22 | u64 *size, unsigned int *flags); | 23 | u64 *size, unsigned int *flags); |
| 23 | 24 | ||
| 24 | #ifndef pci_address_to_pio | 25 | #ifndef pci_address_to_pio |
| @@ -43,7 +44,7 @@ static inline void __iomem *of_iomap(struct device_node *device, int index) | |||
| 43 | { | 44 | { |
| 44 | return NULL; | 45 | return NULL; |
| 45 | } | 46 | } |
| 46 | static inline const u32 *of_get_address(struct device_node *dev, int index, | 47 | static inline const __be32 *of_get_address(struct device_node *dev, int index, |
| 47 | u64 *size, unsigned int *flags) | 48 | u64 *size, unsigned int *flags) |
| 48 | { | 49 | { |
| 49 | return NULL; | 50 | return NULL; |
