Re: [PATCH v17 00/12] input: cyapa: instruction of cyapa patches

From: Jeremiah Mahler
Date: Wed Dec 31 2014 - 11:11:29 EST


Dudley,

On Wed, Dec 31, 2014 at 09:16:49AM +0800, Dudley Du wrote:
> V17 patches have below updates, details of other updates see history list:
> 1) Fix kernel oops when system booting up with finger on TP.
> 2) Remove unnecessary error log that may to system.
> 3) Slipt out pm sleep code into cyapa_prepare_wakeup_controls(),
> remove #indefs in function body of CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME.
> 4) Supply stubs to cyapa_gen3_ops and cyapa_gen5_ops data structure to avoid
> checking for presence of various methods in ops.
> 6) Fix the meanings of some comments and return error code not clear issue.
[...]

It has build errors :(

CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
CC [M] drivers/input/mouse/cyapa.o
In file included from include/linux/device.h:25:0,
from include/linux/i2c.h:30,
from drivers/input/mouse/cyapa.c:18:
drivers/input/mouse/cyapa.c:1339:21: error: âcyapa_runtime_suspendâ undeclared here (not in a function)
SET_RUNTIME_PM_OPS(cyapa_runtime_suspend, cyapa_runtime_resume, NULL)
^
include/linux/pm.h:347:21: note: in definition of macro âSET_RUNTIME_PM_OPSâ
.runtime_suspend = suspend_fn, \
^
drivers/input/mouse/cyapa.c:1339:44: error: âcyapa_runtime_resumeâ undeclared here (not in a function)
SET_RUNTIME_PM_OPS(cyapa_runtime_suspend, cyapa_runtime_resume, NULL)
^
include/linux/pm.h:348:20: note: in definition of macro âSET_RUNTIME_PM_OPSâ
.runtime_resume = resume_fn, \
^
scripts/Makefile.build:257: recipe for target 'drivers/input/mouse/cyapa.o' failed
make[3]: *** [drivers/input/mouse/cyapa.o] Error 1
scripts/Makefile.build:402: recipe for target 'drivers/input/mouse' failed
make[2]: *** [drivers/input/mouse] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/input' failed
make[1]: *** [drivers/input] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:955: recipe for target 'drivers' failed
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....

--
- Jeremiah Mahler
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/