summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/starfire.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/starfire.c')
-rw-r--r--arch/sparc/kernel/starfire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/starfire.c b/arch/sparc/kernel/starfire.c
index 060d0f3a615..a4446c0fb7a 100644
--- a/arch/sparc/kernel/starfire.c
+++ b/arch/sparc/kernel/starfire.c
@@ -23,7 +23,7 @@ int this_is_starfire = 0;
void check_if_starfire(void)
{
- int ssnode = prom_finddevice("/ssp-serial");
+ phandle ssnode = prom_finddevice("/ssp-serial");
if (ssnode != 0 && ssnode != -1)
this_is_starfire = 1;
}