[AT&T LG Optimus G] dancom96:
I was almost certain it wouldn't be that, but it was, thanks! Sweep2wake.c was in the wrong folder for some reason.

I'm now stuck here:

In file included from include/linux/delay.h:10:0,
from drivers/input/touchscreen/lge_touch_core.c:19:
drivers/input/touchscreen/lge_touch_core.c: In function 'lge_touch_attr_show':
include/linux/kernel.h:696:27: error: dereferencing pointer to incomplete type
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1672:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
include/linux/kernel.h:696:48: warning: initialization from incompatible pointer type [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1672:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
include/linux/kernel.h:696:48: warning: (near initialization for 'ts') [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1672:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
In file included from include/linux/compiler-gcc.h:100:0,
from include/linux/compiler.h:48,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:17,
from include/linux/sysinfo.h:4,
from include/linux/kernel.h:4,
from include/linux/delay.h:10,
from drivers/input/touchscreen/lge_touch_core.c:19:
drivers/input/touchscreen/lge_touch_core.c:1673:13: error: invalid use of undefined type 'struct lge_touch_data'
struct lge_touch_data, lge_touch_kobj);
^
include/linux/compiler-gcc4.h:14:53: note: in definition of macro '__compiler_offsetof'
#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
^
include/linux/kernel.h:697:29: note: in expansion of macro 'offsetof'
(type *)( (char *)__mptr - offsetof(type,member) );})
^
drivers/input/touchscreen/lge_touch_core.c:1672:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
drivers/input/touchscreen/lge_touch_core.c:1679:3: warning: passing argument 1 of 'lge_touch_priv->show' from incompatible pointer type [enabled by default]
ret = lge_touch_priv->show(ts, buf);
^
drivers/input/touchscreen/lge_touch_core.c:1679:3: note: expected 'struct lge_touch_data *' but argument is of type 'struct lge_touch_data *'
In file included from include/linux/delay.h:10:0,
from drivers/input/touchscreen/lge_touch_core.c:19:
drivers/input/touchscreen/lge_touch_core.c: In function 'lge_touch_attr_store':
include/linux/kernel.h:696:27: error: dereferencing pointer to incomplete type
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1687:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
include/linux/kernel.h:696:48: warning: initialization from incompatible pointer type [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1687:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
include/linux/kernel.h:696:48: warning: (near initialization for 'ts') [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1687:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
In file included from include/linux/compiler-gcc.h:100:0,
from include/linux/compiler.h:48,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:17,
from include/linux/sysinfo.h:4,
from include/linux/kernel.h:4,
from include/linux/delay.h:10,
from drivers/input/touchscreen/lge_touch_core.c:19:
drivers/input/touchscreen/lge_touch_core.c:1688:12: error: invalid use of undefined type 'struct lge_touch_data'
struct lge_touch_data, lge_touch_kobj);
^
include/linux/compiler-gcc4.h:14:53: note: in definition of macro '__compiler_offsetof'
#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
^
include/linux/kernel.h:697:29: note: in expansion of macro 'offsetof'
(type *)( (char *)__mptr - offsetof(type,member) );})
^
drivers/input/touchscreen/lge_touch_core.c:1687:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,