diff options
Diffstat (limited to 'include/asm-powerpc/ps3.h')
-rw-r--r-- | include/asm-powerpc/ps3.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h index 00a4c7d3c6d1..d1ae87df7776 100644 --- a/include/asm-powerpc/ps3.h +++ b/include/asm-powerpc/ps3.h | |||
@@ -27,6 +27,18 @@ | |||
27 | #include <linux/device.h> | 27 | #include <linux/device.h> |
28 | #include <scsi/scsi.h> | 28 | #include <scsi/scsi.h> |
29 | 29 | ||
30 | union ps3_firmware_version { | ||
31 | u64 raw; | ||
32 | struct { | ||
33 | u16 pad; | ||
34 | u16 major; | ||
35 | u16 minor; | ||
36 | u16 rev; | ||
37 | }; | ||
38 | }; | ||
39 | |||
40 | int ps3_get_firmware_version(union ps3_firmware_version *v); | ||
41 | |||
30 | /** | 42 | /** |
31 | * struct ps3_device_id - HV bus device identifier from the system repository | 43 | * struct ps3_device_id - HV bus device identifier from the system repository |
32 | * @bus_id: HV bus id, {1..} (zero invalid) | 44 | * @bus_id: HV bus id, {1..} (zero invalid) |