lkml.org 
[lkml]   [2009]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[origin tree build failure] [PATCH] headers: Fix build in drivers/char/sonypi.c
    Fix:

    drivers/char/sonypi.c: In function ‘sonypi_irq’:
    drivers/char/sonypi.c:883: error: ‘SIGIO’ undeclared (first use in this function)
    drivers/char/sonypi.c:883: error: (Each undeclared identifier is reported only once
    drivers/char/sonypi.c:883: error: for each function it appears in.)
    drivers/char/sonypi.c:883: error: ‘POLL_IN’ undeclared (first use in this function)
    drivers/char/sonypi.c:884: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
    drivers/char/sonypi.c: In function ‘sonypi_misc_read’:
    drivers/char/sonypi.c:925: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
    drivers/char/sonypi.c:925: error: implicit declaration of function ‘signal_pending’
    drivers/char/sonypi.c:925: error: implicit declaration of function ‘schedule’

    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    ---
    drivers/char/sonypi.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c
    index fd3dced..8c262aa 100644
    --- a/drivers/char/sonypi.c
    +++ b/drivers/char/sonypi.c
    @@ -36,6 +36,7 @@
    */

    #include <linux/module.h>
    +#include <linux/sched.h>
    #include <linux/input.h>
    #include <linux/pci.h>
    #include <linux/init.h>
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2009-10-12 16:29    [W:0.028 / U:63.284 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site