staging: import prima v3.1.7.16 as legacy

Change-Id: Ie3a7548a087ff122389a410232269a6098b6eb6d
AU_LINUX_ANDROID_JB_REL.04.01.01.02.039

Change-Id: Ibdf6cfb8b460f4f8cc7ade722be320359d240d03
AU_LINUX_ANDROID_JB_REL_RB4.04.01.02.16.074

Change-Id: Ie8989191702455ffcd0e34af0816c8ef528e8947
prima: fix build

Change-Id: Id3e7b2e43e4387a6818a6c4918a5c1cd92b4e658
Signed-off-by: Arnav Gupta <championswimmer@aokp.co>
[M4EU] Updated defconfig

Change-Id: I5ed877d95e4213d409193d6a0ff24957d36d67f8
fix build with gcc4.8

Change-Id: I7a1aec183cfd07b27d9037c3ac853326b9e41718