diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-04-20 18:36:05 -0400 | 
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-04-20 18:36:05 -0400 | 
| commit | 857c68f733eea07f11a061caea43a38fed61adb7 (patch) | |
| tree | 4567a9e91f717b22143ac1ccb0fb5323ac15afd3 /arch/powerpc/kernel/rtas-proc.c | |
| parent | 4741c336d27dec3ea68a35659abb8dc82b142388 (diff) | |
| parent | 402a26f0c040077ed6f941eefac5a6971f0d5f40 (diff) | |
Merge branch 'master'
Diffstat (limited to 'arch/powerpc/kernel/rtas-proc.c')
| -rw-r--r-- | arch/powerpc/kernel/rtas-proc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/arch/powerpc/kernel/rtas-proc.c b/arch/powerpc/kernel/rtas-proc.c index 456286cf1d14..9c9ad1fa9cce 100644 --- a/arch/powerpc/kernel/rtas-proc.c +++ b/arch/powerpc/kernel/rtas-proc.c | |||
| @@ -258,11 +258,11 @@ static int __init proc_rtas_init(void) | |||
| 258 | struct proc_dir_entry *entry; | 258 | struct proc_dir_entry *entry; | 
| 259 | 259 | ||
| 260 | if (!machine_is(pseries)) | 260 | if (!machine_is(pseries)) | 
| 261 | return 1; | 261 | return -ENODEV; | 
| 262 | 262 | ||
| 263 | rtas_node = of_find_node_by_name(NULL, "rtas"); | 263 | rtas_node = of_find_node_by_name(NULL, "rtas"); | 
| 264 | if (rtas_node == NULL) | 264 | if (rtas_node == NULL) | 
| 265 | return 1; | 265 | return -ENODEV; | 
| 266 | 266 | ||
| 267 | entry = create_proc_entry("ppc64/rtas/progress", S_IRUGO|S_IWUSR, NULL); | 267 | entry = create_proc_entry("ppc64/rtas/progress", S_IRUGO|S_IWUSR, NULL); | 
| 268 | if (entry) | 268 | if (entry) | 
