projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Move 32-bit probe() machine to later in the boot process
[cascardo/linux.git]
/
arch
/
powerpc
/
platforms
/
embedded6xx
/
storcenter.c
diff --git
a/arch/powerpc/platforms/embedded6xx/storcenter.c
b/arch/powerpc/platforms/embedded6xx/storcenter.c
index
4596cba
..
471a50b
100644
(file)
--- a/
arch/powerpc/platforms/embedded6xx/storcenter.c
+++ b/
arch/powerpc/platforms/embedded6xx/storcenter.c
@@
-109,9
+109,7
@@
static void __noreturn storcenter_restart(char *cmd)
static int __init storcenter_probe(void)
{
- unsigned long root = of_get_flat_dt_root();
-
- return of_flat_dt_is_compatible(root, "iomega,storcenter");
+ return of_machine_is_compatible("iomega,storcenter");
}
define_machine(storcenter){