of/sparc: convert various prom_* functions to use phandle

Rather than passing around ints everywhere, use the
phandle type where appropriate for the various functions
that talk to the PROM.

Signed-off-by: Andres Salomon <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
Andres Salomon 2010-10-08 14:18:11 -07:00 • committed by Grant Likely
commit 8d1255627d
23 changed files with 157 additions and 144 deletions

View file

@ -2970,7 +2970,8 @@ static int __devinit atyfb_setup_sparc(struct pci_dev *pdev,
struct atyfb_par *par = info->par;
struct device_node *dp;
char prop[128];
int node, len, i, j, ret;
phandle node;
int len, i, j, ret;
u32 mem, chip_id;
/*