summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>2007-06-15 23:18:48 +0200
committerPaul Mackerras <paulus@samba.org>2007-06-28 11:16:33 +0200
commit1322810c14c4b5126e731db2e1764b2e957a9b19 (patch)
treee161c6d7d368d17452510438c968b3ad49a7fe29 /include
parent[POWERPC] PS3: Use __maybe_unused (diff)
downloadlinux-1322810c14c4b5126e731db2e1764b2e957a9b19.tar.xz
linux-1322810c14c4b5126e731db2e1764b2e957a9b19.zip
[POWERPC] PS3: Compare firmware version
Add a utility routine ps3_compare_firmware_version() to compare system firmware versions. Uses the existing ps3_get_firmware_version() routine. Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/ps3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h
index 1e04651eedc4..ac85d729f14f 100644
--- a/include/asm-powerpc/ps3.h
+++ b/include/asm-powerpc/ps3.h
@@ -35,7 +35,8 @@ union ps3_firmware_version {
};
};
-int ps3_get_firmware_version(union ps3_firmware_version *v);
+void ps3_get_firmware_version(union ps3_firmware_version *v);
+int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev);
/* 'Other OS' area */