Input: cyapa - fix unaligned functions redefinition error
authorDudley Du <dudl@cypress.com>
Mon, 2 Mar 2015 17:37:59 +0000 (09:37 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 2 Mar 2015 21:31:32 +0000 (13:31 -0800)
commit17a28055d51922672701465f26360720aa6f97bd
treeeef94a63dc4c3e6fffd5619864d21a7b1a15f08e
parent71daf89476144343df5db1686759a06459292a5f
Input: cyapa - fix unaligned functions redefinition error

Use asm/unaligned.h instead of linux/unaligned/access_ok.h header file to
fix compiling issues such as following while doing cross platform
compiling:

"include/linux/unaligned/access_ok.h:7:19: error: redefinition of
 'get_unaligned_le16'
...
include/linux/unaligned/le_struct.h:6:19: note: previous definition of
 'get_unaligned_le16' was here".

Reported-by: kbuild test robot <kbuild-all@01.org>
Signed-off-by: Dudley Du <dudl@cypress.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa_gen3.c
drivers/input/mouse/cyapa_gen5.c