]> 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 0bcab83b40804f751d173d4d2ee205ca715906f6..4a9f025a6b58026ba208d4a3a695b9d7b9ffa608 100644 (file)
@@ -35,7 +35,6 @@
  *  runtime through the "/proc/sys/kernel/power" procfs entry.
  */ 
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
@@ -85,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();
        }