fiq_debugger: Build fixes for 4.1
authorJohn Stultz <john.stultz@linaro.org>
Fri, 4 Dec 2015 19:32:21 +0000 (11:32 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:30 +0000 (13:52 -0800)
Small build updates for 4.1

Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/staging/android/fiq_debugger/fiq_debugger.c

index 7d6b4ae8a2cdb4a6bc8695e9bedc6cb3dbc869a6..7f056831dbff923794f66d1fd1cc0a9e2adda84f 100644 (file)
@@ -517,7 +517,7 @@ static bool fiq_debugger_fiq_exec(struct fiq_debugger_state *state,
                fiq_debugger_printf(&state->output, "cpu %d\n", state->current_cpu);
        } else if (!strncmp(cmd, "cpu ", 4)) {
                unsigned long cpu = 0;
-               if (strict_strtoul(cmd + 4, 10, &cpu) == 0)
+               if (kstrtoul(cmd + 4, 10, &cpu) == 0)
                        fiq_debugger_switch_cpu(state, cpu);
                else
                        fiq_debugger_printf(&state->output, "invalid cpu\n");
@@ -1144,7 +1144,7 @@ static int fiq_debugger_probe(struct platform_device *pdev)
        if (state->wakeup_irq >= 0) {
                ret = request_irq(state->wakeup_irq,
                                  fiq_debugger_wakeup_irq_handler,
-                                 IRQF_TRIGGER_FALLING | IRQF_DISABLED,
+                                 IRQF_TRIGGER_FALLING,
                                  "debug-wakeup", state);
                if (ret) {
                        pr_err("serial_debugger: "