patch-2.4.21 linux-2.4.21/arch/ppc64/kernel/rtas-proc.c
Next file: linux-2.4.21/arch/ppc64/kernel/rtas.c
Previous file: linux-2.4.21/arch/ppc64/kernel/ptrace32.c
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/ppc64/kernel/rtas-proc.c
- Orig date:
2002-08-02 17:39:43.000000000 -0700
diff -urN linux-2.4.20/arch/ppc64/kernel/rtas-proc.c linux-2.4.21/arch/ppc64/kernel/rtas-proc.c
@@ -162,26 +162,26 @@
size_t count, loff_t *ppos);
struct file_operations ppc_rtas_poweron_operations = {
- read: ppc_rtas_poweron_read,
- write: ppc_rtas_poweron_write
+ .read = ppc_rtas_poweron_read,
+ .write = ppc_rtas_poweron_write
};
struct file_operations ppc_rtas_progress_operations = {
- read: ppc_rtas_progress_read,
- write: ppc_rtas_progress_write
+ .read = ppc_rtas_progress_read,
+ .write = ppc_rtas_progress_write
};
struct file_operations ppc_rtas_clock_operations = {
- read: ppc_rtas_clock_read,
- write: ppc_rtas_clock_write
+ .read = ppc_rtas_clock_read,
+ .write = ppc_rtas_clock_write
};
struct file_operations ppc_rtas_tone_freq_operations = {
- read: ppc_rtas_tone_freq_read,
- write: ppc_rtas_tone_freq_write
+ .read = ppc_rtas_tone_freq_read,
+ .write = ppc_rtas_tone_freq_write
};
struct file_operations ppc_rtas_tone_volume_operations = {
- read: ppc_rtas_tone_volume_read,
- write: ppc_rtas_tone_volume_write
+ .read = ppc_rtas_tone_volume_read,
+ .write = ppc_rtas_tone_volume_write
};
int ppc_rtas_find_all_sensors (void);
@@ -200,7 +200,7 @@
struct proc_dir_entry *entry;
rtas_node = find_devices("rtas");
- if ((rtas_node == 0) || (naca->platform == PLATFORM_ISERIES_LPAR)) {
+ if ((rtas_node == 0) || (systemcfg->platform == PLATFORM_ISERIES_LPAR)) {
return;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)