Skip to content

Instantly share code, notes, and snippets.

@brennen
Last active September 3, 2015 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brennen/336acaab54e9869403c1 to your computer and use it in GitHub Desktop.
Save brennen/336acaab54e9869403c1 to your computer and use it in GitHub Desktop.
hrmph.

ft6x06 error during compile:

CC [M]  drivers/input/touchscreen/ft6x06_ts.o
drivers/input/touchscreen/ft6x06_ts.c:472:2: error: unknown field 'suspend' specified in initializer
drivers/input/touchscreen/ft6x06_ts.c:472:2: warning: initialization from incompatible pointer type [enabled by default]
drivers/input/touchscreen/ft6x06_ts.c:472:2: warning: (near initialization for 'ft6x06_ts_driver.detect') [enabled by default]
drivers/input/touchscreen/ft6x06_ts.c:473:2: error: unknown field 'resume' specified in initializer
drivers/input/touchscreen/ft6x06_ts.c:473:2: warning: initialization from incompatible pointer type [enabled by default]
drivers/input/touchscreen/ft6x06_ts.c:473:2: warning: (near initialization for 'ft6x06_ts_driver.address_list') [enabled by default]
drivers/input/touchscreen/ft6x06_ts.c:193:12: warning: 'request_one_gpio' defined but not used [-Wunused-function]
make[3]: *** [drivers/input/touchscreen/ft6x06_ts.o] Error 1
make[3]: Target `__build' not remade because of errors.
make[2]: *** [drivers/input/touchscreen] Error 2
make[2]: Target `__build' not remade because of errors.
make[1]: *** [drivers/input] Error 2

Changes - all from our side:

vagrant@vagrant-ubuntu-trusty-32:/kernel_repos/adafruit/adafruit-raspberrypi-linux/v1$ git log drivers/input/touchscreen/ft6x06_ts.c 
commit e714723c1a5c2c34b6cbfcd6e5c768ba454ffbd5
Author: your name <your email>
Date:   Tue Feb 24 16:50:18 2015 -0500

    SDL TS and no debug output - works

commit 7de8239f74dad6c50a6dd9432dd53289874ddd77
Author: Lady Ada <raspberry@adafruit.com>
Date:   Thu Feb 19 23:29:48 2015 -0500

    ok at least loading with a kernel DTO now

commit 22d86e78d70806353f138c7932889536033f5364
Author: Lady Ada <raspberry@adafruit.com>
Date:   Thu Feb 19 20:59:54 2015 -0500

    add first round captouch support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment