I get the following errors when compiling imx_lib into linux 4.9 stable version:
In file included from pxp_lib.c:26:0:
pxp_lib.h:19:30: fatal error: linux/pxp_device.h: No such file or directory
#include <linux/pxp_device.h>
This file is in the imx-lib src and in the makefile, and if imx_lib is built with the stable 4.1 kernel, it builds fine.