]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/platforms/pseries/reconfig.c
powerpc/pseries: Allow phandle to be specified in formats other than decimal
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / pseries / reconfig.c
index 75769aae41d5ec7e67ee31dfc5b552971a7b1f77..dfa2ebd2deb55cb1305866cef9a29d30fb586271 100644 (file)
@@ -365,7 +365,7 @@ static char *parse_node(char *buf, size_t bufsize, struct device_node **npp)
        *buf = '\0';
        buf++;
 
-       handle = simple_strtoul(handle_str, NULL, 10);
+       handle = simple_strtoul(handle_str, NULL, 0);
 
        *npp = of_find_node_by_phandle(handle);
        return buf;