Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179566
b: refs/heads/master
c: 46150a0
h: refs/heads/master
v: v3
  • Loading branch information
FUJITA Tomonori authored and Benjamin Herrenschmidt committed Jan 15, 2010
1 parent 0323311 commit 03a4299
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 92cb3694dd8da8769f9415790e169b9cf3a16fcb
refs/heads/master: 46150a050f7a329bf570462dc6df3330cafee926
4 changes: 3 additions & 1 deletion trunk/arch/powerpc/platforms/pseries/dlpar.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ static struct device_node *derive_parent(const char *path)

int dlpar_attach_node(struct device_node *dn)
{
#ifdef CONFIG_PROC_DEVICETREE
struct proc_dir_entry *ent;
#endif
int rc;

of_node_set_flag(dn, OF_DYNAMIC);
Expand Down Expand Up @@ -267,10 +269,10 @@ int dlpar_attach_node(struct device_node *dn)

int dlpar_detach_node(struct device_node *dn)
{
#ifdef CONFIG_PROC_DEVICETREE
struct device_node *parent = dn->parent;
struct property *prop = dn->properties;

#ifdef CONFIG_PROC_DEVICETREE
while (prop) {
remove_proc_entry(prop->name, dn->pde);
prop = prop->next;
Expand Down

0 comments on commit 03a4299

Please sign in to comment.