of/sparc: convert various prom_* functions to use phandle
[deliverable/linux.git] / arch / sparc / prom / misc_64.c
index 6cb1581d6aef507fca9c036708cebe24e5ab053c..d24bc44e361ee20b654960cc7784176670705da6 100644 (file)
@@ -183,7 +183,8 @@ unsigned char prom_get_idprom(char *idbuf, int num_bytes)
 
 int prom_get_mmu_ihandle(void)
 {
-       int node, ret;
+       phandle node;
+       int ret;
 
        if (prom_mmu_ihandle_cache != 0)
                return prom_mmu_ihandle_cache;
@@ -201,7 +202,8 @@ int prom_get_mmu_ihandle(void)
 static int prom_get_memory_ihandle(void)
 {
        static int memory_ihandle_cache;
-       int node, ret;
+       phandle node;
+       int ret;
 
        if (memory_ihandle_cache != 0)
                return memory_ihandle_cache;
This page took 0.032297 seconds and 5 git commands to generate.