OSDN Git Service

DO NOT MERGE Use CREATE instead of CREATE2 for 3.10 kernel
authorSiarhei Vishniakou <svv@google.com>
Sat, 26 Aug 2017 04:44:01 +0000 (21:44 -0700)
committerSiarhei Vishniakou <svv@google.com>
Sat, 26 Aug 2017 05:05:19 +0000 (05:05 +0000)
commit388ca7feb019bdacdfc7994149909b5b68ae1b1e
treeb4b4e41e89d7abdd027b43819d3293648056ba81
parentd499ae5a853937fba88196e418f9cfa1b2f583ce
DO NOT MERGE Use CREATE instead of CREATE2 for 3.10 kernel

CREATE2 structs were introduced after kernel 3.18,
so cannot compile user code with uapi headers from
newer 3.18+ kernels. If using CREATE structs then
compatibility is preserved.

Bug: 64981084
Test: bit
Change-Id: I97c7725918b09a817a51c13384ac2d55a6cfab25
CtsHardwareTestCases:android.hardware.input.cts.tests.GamepadTestCase
cmds/hid/jni/com_android_commands_hid_Device.cpp