]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/parisc/power.c
V4L/DVB (4657): Power control of the device for dual board
[linux-2.6-omap-h63xx.git] / drivers / parisc / power.c
index fad5a33bf0fa3ecac80bc57358cbd2327c2dbd68..4a9f025a6b58026ba208d4a3a695b9d7b9ffa608 100644 (file)
@@ -84,8 +84,7 @@
 
 static void deferred_poweroff(void *dummy)
 {
-       extern int cad_pid;     /* from kernel/sys.c */
-       if (kill_proc(cad_pid, SIGINT, 1)) {
+       if (kill_cad_pid(SIGINT, 1)) {
                /* just in case killing init process failed */
                machine_power_off();
        }