diff options
Diffstat (limited to 'arch/powerpc/platforms/embedded6xx/linkstation.c')
-rw-r--r-- | arch/powerpc/platforms/embedded6xx/linkstation.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/embedded6xx/linkstation.c b/arch/powerpc/platforms/embedded6xx/linkstation.c index 168e1d80b2e5..540eeb58d3f0 100644 --- a/arch/powerpc/platforms/embedded6xx/linkstation.c +++ b/arch/powerpc/platforms/embedded6xx/linkstation.c | |||
@@ -147,6 +147,9 @@ static int __init linkstation_probe(void) | |||
147 | 147 | ||
148 | if (!of_flat_dt_is_compatible(root, "linkstation")) | 148 | if (!of_flat_dt_is_compatible(root, "linkstation")) |
149 | return 0; | 149 | return 0; |
150 | |||
151 | pm_power_off = linkstation_power_off; | ||
152 | |||
150 | return 1; | 153 | return 1; |
151 | } | 154 | } |
152 | 155 | ||
@@ -158,7 +161,6 @@ define_machine(linkstation){ | |||
158 | .show_cpuinfo = linkstation_show_cpuinfo, | 161 | .show_cpuinfo = linkstation_show_cpuinfo, |
159 | .get_irq = mpic_get_irq, | 162 | .get_irq = mpic_get_irq, |
160 | .restart = linkstation_restart, | 163 | .restart = linkstation_restart, |
161 | .power_off = linkstation_power_off, | ||
162 | .halt = linkstation_halt, | 164 | .halt = linkstation_halt, |
163 | .calibrate_decr = generic_calibrate_decr, | 165 | .calibrate_decr = generic_calibrate_decr, |
164 | }; | 166 | }; |