This will be used in a subsequent changeset.
Signed-off-by: David S. Miller <davem@davemloft.net>
 extern void irq_trans_init(struct device_node *dp);
 #endif
 
+extern unsigned int prom_unique_id;
+
 #endif /* __PROM_H */
 
        return n;
 }
 
-static unsigned int unique_id;
-
 static struct property * __init build_one_prop(phandle node, char *prev, char *special_name, void *special_val, int special_len)
 {
        static struct property *tmp = NULL;
                tmp = NULL;
        } else {
                p = prom_early_alloc(sizeof(struct property) + 32);
-               p->unique_id = unique_id++;
+               p->unique_id = prom_unique_id++;
        }
 
        p->name = (char *) (p + 1);
                return NULL;
 
        dp = prom_early_alloc(sizeof(*dp));
-       dp->unique_id = unique_id++;
+       dp->unique_id = prom_unique_id++;
 
        kref_init(&dp->kref);
 
 
        return n;
 }
 
-static unsigned int unique_id;
-
 static struct property * __init build_one_prop(phandle node, char *prev, char *special_name, void *special_val, int special_len)
 {
        static struct property *tmp = NULL;
                tmp = NULL;
        } else {
                p = prom_early_alloc(sizeof(struct property) + 32);
-               p->unique_id = unique_id++;
+               p->unique_id = prom_unique_id++;
        }
 
        p->name = (char *) (p + 1);
                return NULL;
 
        dp = prom_early_alloc(sizeof(*dp));
-       dp->unique_id = unique_id++;
+       dp->unique_id = prom_unique_id++;
        dp->parent = parent;
 
        kref_init(&dp->kref);
 
 }
 EXPORT_SYMBOL(of_find_in_proplist);
 
+unsigned int prom_unique_id;