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 a4446c0fb7a..82281a566bb 100644
--- a/arch/sparc/kernel/starfire.c
+++ b/arch/sparc/kernel/starfire.c
@@ -24,7 +24,7 @@ int this_is_starfire = 0;
void check_if_starfire(void)
{
phandle ssnode = prom_finddevice("/ssp-serial");
- if (ssnode != 0 && ssnode != -1)
+ if (ssnode != 0 && (s32)ssnode != -1)
this_is_starfire = 1;
}