diff options
Diffstat (limited to 'drivers/char/snsc_event.c')
-rw-r--r-- | drivers/char/snsc_event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/snsc_event.c b/drivers/char/snsc_event.c index d12d4f629cec..2f56e8c54897 100644 --- a/drivers/char/snsc_event.c +++ b/drivers/char/snsc_event.c | |||
@@ -36,7 +36,7 @@ DECLARE_TASKLET(sn_sysctl_event, scdrv_event, 0); | |||
36 | * destination. | 36 | * destination. |
37 | */ | 37 | */ |
38 | static irqreturn_t | 38 | static irqreturn_t |
39 | scdrv_event_interrupt(int irq, void *subch_data, struct pt_regs *regs) | 39 | scdrv_event_interrupt(int irq, void *subch_data) |
40 | { | 40 | { |
41 | struct subch_data_s *sd = subch_data; | 41 | struct subch_data_s *sd = subch_data; |
42 | unsigned long flags; | 42 | unsigned long flags; |
@@ -220,7 +220,7 @@ scdrv_dispatch_event(char *event, int len) | |||
220 | " Sending SIGPWR to init...\n"); | 220 | " Sending SIGPWR to init...\n"); |
221 | 221 | ||
222 | /* give a SIGPWR signal to init proc */ | 222 | /* give a SIGPWR signal to init proc */ |
223 | kill_proc(1, SIGPWR, 0); | 223 | kill_cad_pid(SIGPWR, 0); |
224 | } else { | 224 | } else { |
225 | /* print to system log */ | 225 | /* print to system log */ |
226 | printk("%s|$(0x%x)%s\n", severity, esp_code, desc); | 226 | printk("%s|$(0x%x)%s\n", severity, esp_code, desc); |