Commit "pps: Update compat ioctl handler for compat64" introduced the use of compat_ptr() in pps_cdev_compat_ioctl(), which relied on the implicit inclusion of <asm/compat.h>. compat_ptr() is generally defined in the generic <linux/compat.h>, so make sure to include it explicitly.
Fixes: ("pps: Update compat ioctl handler for compat64") Signed-off-by: Kevin Brodsky kevin.brodsky@arm.com ---
This is to avoid breaking the build in !PCuABI after patch 8.
drivers/pps/pps.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/pps/pps.c b/drivers/pps/pps.c index 45551c113172..dba5a67a92d1 100644 --- a/drivers/pps/pps.c +++ b/drivers/pps/pps.c @@ -18,6 +18,7 @@ #include <linux/poll.h> #include <linux/pps_kernel.h> #include <linux/slab.h> +#include <linux/compat.h>
#include "kc.h"