diff options
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/address.c | 2 | ||||
-rw-r--r-- | drivers/of/base.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/of/address.c b/drivers/of/address.c index fcadb726d4f9..3a1c7e70b192 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c | |||
@@ -163,7 +163,7 @@ static int of_bus_pci_translate(u32 *addr, u64 offset, int na) | |||
163 | const u32 *of_get_pci_address(struct device_node *dev, int bar_no, u64 *size, | 163 | const u32 *of_get_pci_address(struct device_node *dev, int bar_no, u64 *size, |
164 | unsigned int *flags) | 164 | unsigned int *flags) |
165 | { | 165 | { |
166 | const u32 *prop; | 166 | const __be32 *prop; |
167 | unsigned int psize; | 167 | unsigned int psize; |
168 | struct device_node *parent; | 168 | struct device_node *parent; |
169 | struct of_bus *bus; | 169 | struct of_bus *bus; |
diff --git a/drivers/of/base.c b/drivers/of/base.c index aa805250de76..710b53bfac6d 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c | |||
@@ -33,7 +33,7 @@ DEFINE_RWLOCK(devtree_lock); | |||
33 | 33 | ||
34 | int of_n_addr_cells(struct device_node *np) | 34 | int of_n_addr_cells(struct device_node *np) |
35 | { | 35 | { |
36 | const int *ip; | 36 | const __be32 *ip; |
37 | 37 | ||
38 | do { | 38 | do { |
39 | if (np->parent) | 39 | if (np->parent) |
@@ -49,7 +49,7 @@ EXPORT_SYMBOL(of_n_addr_cells); | |||
49 | 49 | ||
50 | int of_n_size_cells(struct device_node *np) | 50 | int of_n_size_cells(struct device_node *np) |
51 | { | 51 | { |
52 | const int *ip; | 52 | const __be32 *ip; |
53 | 53 | ||
54 | do { | 54 | do { |
55 | if (np->parent) | 55 | if (np->parent) |