diff options
Diffstat (limited to 'arch/ppc/syslib/prom.c')
-rw-r--r-- | arch/ppc/syslib/prom.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/ppc/syslib/prom.c b/arch/ppc/syslib/prom.c index 2c64ed627475..278da6ee62ea 100644 --- a/arch/ppc/syslib/prom.c +++ b/arch/ppc/syslib/prom.c | |||
@@ -89,7 +89,7 @@ extern char cmd_line[512]; /* XXX */ | |||
89 | extern boot_infos_t *boot_infos; | 89 | extern boot_infos_t *boot_infos; |
90 | unsigned long dev_tree_size; | 90 | unsigned long dev_tree_size; |
91 | 91 | ||
92 | void __openfirmware | 92 | void |
93 | phys_call_rtas(int service, int nargs, int nret, ...) | 93 | phys_call_rtas(int service, int nargs, int nret, ...) |
94 | { | 94 | { |
95 | va_list list; | 95 | va_list list; |
@@ -862,7 +862,7 @@ find_type_devices(const char *type) | |||
862 | /* | 862 | /* |
863 | * Returns all nodes linked together | 863 | * Returns all nodes linked together |
864 | */ | 864 | */ |
865 | struct device_node * __openfirmware | 865 | struct device_node * |
866 | find_all_nodes(void) | 866 | find_all_nodes(void) |
867 | { | 867 | { |
868 | struct device_node *head, **prevp, *np; | 868 | struct device_node *head, **prevp, *np; |
@@ -1165,7 +1165,7 @@ get_property(struct device_node *np, const char *name, int *lenp) | |||
1165 | /* | 1165 | /* |
1166 | * Add a property to a node | 1166 | * Add a property to a node |
1167 | */ | 1167 | */ |
1168 | void __openfirmware | 1168 | void |
1169 | prom_add_property(struct device_node* np, struct property* prop) | 1169 | prom_add_property(struct device_node* np, struct property* prop) |
1170 | { | 1170 | { |
1171 | struct property **next = &np->properties; | 1171 | struct property **next = &np->properties; |
@@ -1177,7 +1177,7 @@ prom_add_property(struct device_node* np, struct property* prop) | |||
1177 | } | 1177 | } |
1178 | 1178 | ||
1179 | /* I quickly hacked that one, check against spec ! */ | 1179 | /* I quickly hacked that one, check against spec ! */ |
1180 | static inline unsigned long __openfirmware | 1180 | static inline unsigned long |
1181 | bus_space_to_resource_flags(unsigned int bus_space) | 1181 | bus_space_to_resource_flags(unsigned int bus_space) |
1182 | { | 1182 | { |
1183 | u8 space = (bus_space >> 24) & 0xf; | 1183 | u8 space = (bus_space >> 24) & 0xf; |
@@ -1194,7 +1194,7 @@ bus_space_to_resource_flags(unsigned int bus_space) | |||
1194 | } | 1194 | } |
1195 | } | 1195 | } |
1196 | 1196 | ||
1197 | static struct resource* __openfirmware | 1197 | static struct resource* |
1198 | find_parent_pci_resource(struct pci_dev* pdev, struct address_range *range) | 1198 | find_parent_pci_resource(struct pci_dev* pdev, struct address_range *range) |
1199 | { | 1199 | { |
1200 | unsigned long mask; | 1200 | unsigned long mask; |
@@ -1224,7 +1224,7 @@ find_parent_pci_resource(struct pci_dev* pdev, struct address_range *range) | |||
1224 | * or other nodes attached to the root node. Ultimately, put some | 1224 | * or other nodes attached to the root node. Ultimately, put some |
1225 | * link to resources in the OF node. | 1225 | * link to resources in the OF node. |
1226 | */ | 1226 | */ |
1227 | struct resource* __openfirmware | 1227 | struct resource* |
1228 | request_OF_resource(struct device_node* node, int index, const char* name_postfix) | 1228 | request_OF_resource(struct device_node* node, int index, const char* name_postfix) |
1229 | { | 1229 | { |
1230 | struct pci_dev* pcidev; | 1230 | struct pci_dev* pcidev; |
@@ -1280,7 +1280,7 @@ fail: | |||
1280 | return NULL; | 1280 | return NULL; |
1281 | } | 1281 | } |
1282 | 1282 | ||
1283 | int __openfirmware | 1283 | int |
1284 | release_OF_resource(struct device_node* node, int index) | 1284 | release_OF_resource(struct device_node* node, int index) |
1285 | { | 1285 | { |
1286 | struct pci_dev* pcidev; | 1286 | struct pci_dev* pcidev; |
@@ -1346,7 +1346,7 @@ release_OF_resource(struct device_node* node, int index) | |||
1346 | } | 1346 | } |
1347 | 1347 | ||
1348 | #if 0 | 1348 | #if 0 |
1349 | void __openfirmware | 1349 | void |
1350 | print_properties(struct device_node *np) | 1350 | print_properties(struct device_node *np) |
1351 | { | 1351 | { |
1352 | struct property *pp; | 1352 | struct property *pp; |
@@ -1400,7 +1400,7 @@ print_properties(struct device_node *np) | |||
1400 | static DEFINE_SPINLOCK(rtas_lock); | 1400 | static DEFINE_SPINLOCK(rtas_lock); |
1401 | 1401 | ||
1402 | /* this can be called after setup -- Cort */ | 1402 | /* this can be called after setup -- Cort */ |
1403 | int __openfirmware | 1403 | int |
1404 | call_rtas(const char *service, int nargs, int nret, | 1404 | call_rtas(const char *service, int nargs, int nret, |
1405 | unsigned long *outputs, ...) | 1405 | unsigned long *outputs, ...) |
1406 | { | 1406 | { |