[lkml]   [2009]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: tree with htc dream support
    On Fri 2009-12-11 21:42:07, Arve Hj?nnev?g wrote:
    > On Sat, Dec 5, 2009 at 4:38 PM, Brian Swetland <> wrote:
    > > Arve's about to take our common and msm trees and rebase them over the .32,
    > > which may be useful for reference -- at least as a snapshot of a fully
    > > functional set of patches that android donut and eclair run on, on
    > > production hardware.  We'll make that available as soon as we have something
    > > that's bootable.
    > >
    > > Brian
    > >
    > >
    > A first pass of this is available in the android-msm-2.6.32-test1
    > branch at git://

    According to some docs, i2c_detach can be just removed, so...?

    Then I got this:

    CC drivers/input/misc/gpio_axis.o
    CC drivers/input/misc/keychord.o
    drivers/input/misc/keychord.c: In function 'keychord_event':
    drivers/input/misc/keychord.c:129: error: 'TASK_INTERRUPTIBLE'
    undeclared (first use in this
    function)drivers/input/misc/keychord.c:129: error: (Each undeclared
    identifier is reported only once
    drivers/input/misc/keychord.c:129: error: for each function it appears
    drivers/input/misc/keychord.c: In function 'keychord_read':
    drivers/input/misc/keychord.c:205: error: 'TASK_INTERRUPTIBLE'
    undeclared (first use in this
    function)drivers/input/misc/keychord.c:205: error: implicit
    declaration of function 'signal_pending'
    drivers/input/misc/keychord.c:205: error: implicit declaration of
    function 'schedule'
    make[3]: *** [drivers/input/misc/keychord.o] Error 1
    make[2]: *** [drivers/input/misc] Error 2
    make[1]: *** [drivers/input] Error 2
    make: *** [drivers] Error 2
    12.60user 2.53system 16.93 (0m16.939s) elapsed 89.36%CPU

    I used this to fix the compilation...

    Signed-off-by: Pavel Machek <>

    diff --git a/drivers/i2c/chips/mt9t013.c b/drivers/i2c/chips/mt9t013.c
    index e911ece..200a9f8 100755
    --- a/drivers/i2c/chips/mt9t013.c
    +++ b/drivers/i2c/chips/mt9t013.c
    @@ -1298,7 +1298,6 @@ static int mt9t013_remove(struct i2c_client *client)
    struct mt9t013_data *mt = i2c_get_clientdata(client);
    free_irq(client->irq, mt);
    - i2c_detach_client(client);
    pclient = NULL;
    diff --git a/drivers/input/misc/keychord.c b/drivers/input/misc/keychord.c
    index ea94f26..ca23905 100644
    --- a/drivers/input/misc/keychord.c
    +++ b/drivers/input/misc/keychord.c
    @@ -23,6 +23,7 @@
    #include <linux/fs.h>
    #include <linux/miscdevice.h>
    #include <linux/keychord.h>
    +#include <linux/sched.h>

    #define KEYCHORD_NAME "keychord"
    #define BUFFER_SIZE 16
    (cesky, pictures)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-12-12 12:29    [W:0.026 / U:247.240 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site