Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223262
b: refs/heads/master
c: 17d70d6
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Nov 16, 2010
1 parent 1435559 commit 99b0fcc
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 37 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: ce05a94efaf71d562eeefd30d6bbc2ab42b06bac
refs/heads/master: 17d70d6df0c4ea7a203b444001572a91ad9c2bef
1 change: 0 additions & 1 deletion trunk/arch/sparc/include/asm/oplib_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ extern int prom_node_has_property(phandle node, char *property);
extern int prom_setprop(phandle node, const char *prop_name, char *prop_value,
int value_size);

extern phandle prom_pathtoinode(char *path);
extern phandle prom_inst2pkg(int);

/* Dorking with Bus ranges... */
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sparc/include/asm/oplib_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ extern phandle prom_finddevice(const char *name);
extern int prom_setprop(phandle node, const char *prop_name, char *prop_value,
int value_size);

extern phandle prom_pathtoinode(const char *path);
extern phandle prom_inst2pkg(int);
extern int prom_service_exists(const char *service_name);
extern void prom_sun4v_guest_soft_state(void);
Expand Down
16 changes: 0 additions & 16 deletions trunk/arch/sparc/prom/tree_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,19 +342,3 @@ phandle prom_inst2pkg(int inst)
if (node == -1) return 0;
return node;
}

/* Return 'node' assigned to a particular prom 'path'
* FIXME: Should work for v0 as well
*/
phandle prom_pathtoinode(char *path)
{
phandle node;
int inst;

inst = prom_devopen (path);
if (inst == -1) return 0;
node = prom_inst2pkg (inst);
prom_devclose (inst);
if (node == -1) return 0;
return node;
}
18 changes: 0 additions & 18 deletions trunk/arch/sparc/prom/tree_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,24 +374,6 @@ inline phandle prom_inst2pkg(int inst)
return node;
}

/* Return 'node' assigned to a particular prom 'path'
* FIXME: Should work for v0 as well
*/
phandle prom_pathtoinode(const char *path)
{
phandle node;
int inst;

inst = prom_devopen (path);
if (inst == 0)
return 0;
node = prom_inst2pkg(inst);
prom_devclose(inst);
if (node == -1)
return 0;
return node;
}

int prom_ihandle2path(int handle, char *buffer, int bufsize)
{
unsigned long args[7];
Expand Down

0 comments on commit 99b0fcc

Please sign in to comment.