Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11643
b: refs/heads/master
c: 60dda25
h: refs/heads/master
i:
  11641: 7dafca9
  11639: 2c8bb51
v: v3
  • Loading branch information
Kumar Gala authored and Paul Mackerras committed Oct 26, 2005
1 parent 13956f1 commit 505b494
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d2e615125762459fd2bb9f0c91881509a0b9c31b
refs/heads/master: 60dda2565bbf31bbe662fd143a41c861b7a190cf
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1167,8 +1167,10 @@ static int __init early_init_dt_scan_chosen(unsigned long node,
#ifdef CONFIG_PPC64
systemcfg->platform = *prop;
#else
#ifdef CONFIG_PPC_MULTIPLATFORM
_machine = *prop;
#endif
#endif

#ifdef CONFIG_PPC64
/* check if iommu is forced on or off */
Expand Down Expand Up @@ -2005,6 +2007,7 @@ bus_space_to_resource_flags(unsigned int bus_space)
}
}

#ifdef CONFIG_PCI
static struct resource *find_parent_pci_resource(struct pci_dev* pdev,
struct address_range *range)
{
Expand Down Expand Up @@ -2157,3 +2160,4 @@ int release_OF_resource(struct device_node *node, int index)
return 0;
}
EXPORT_SYMBOL(release_OF_resource);
#endif /* CONFIG_PCI */
14 changes: 7 additions & 7 deletions trunk/include/asm-powerpc/prom.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ struct reg_property32 {
};

struct reg_property64 {
unsigned long address;
unsigned long size;
u64 address;
u64 size;
};

struct property {
Expand Down Expand Up @@ -155,12 +155,12 @@ static inline void set_node_proc_entry(struct device_node *dn, struct proc_dir_e


/* OBSOLETE: Old style node lookup */
extern struct device_node *find_devices(const char *name);
extern struct device_node *find_type_devices(const char *type);
extern struct device_node *find_path_device(const char *path);
extern struct device_node *find_compatible_devices(const char *type,
extern __deprecated struct device_node *find_devices(const char *name);
extern __deprecated struct device_node *find_type_devices(const char *type);
extern __deprecated struct device_node *find_path_device(const char *path);
extern __deprecated struct device_node *find_compatible_devices(const char *type,
const char *compat);
extern struct device_node *find_all_nodes(void);
extern __deprecated struct device_node *find_all_nodes(void);

/* New style node lookup */
extern struct device_node *of_find_node_by_name(struct device_node *from,
Expand Down

0 comments on commit 505b494

Please sign in to comment.