On Wed, Jan 18, 2017 at 07:04:45AM -0800, Michael Zoran wrote:
> This change adds the compatibility data structures for compatibility
> ioctls and defines compatibility ioctl definitions for the ioctls
> that have changed.
> 
> Signed-off-by: Michael Zoran <mzo...@crowfest.net>
> ---
>  .../interface/vchiq_arm/vchiq_ioctl.h              | 96 
> ++++++++++++++++++++++
>  1 file changed, 96 insertions(+)
> 
> diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h 
> b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h
> index 6137ae9de1c1..1681b7792ef2 100644
> --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h
> +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h
> @@ -35,6 +35,9 @@
>  #define VCHIQ_IOCTLS_H
>  
>  #include <linux/ioctl.h>
> +#if defined(CONFIG_COMPAT)
> +#include <linux/compat.h>
> +#endif

Are you sure this ifdef is needed?

thanks,

greg k-h
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to