ltq-vmmc: fix build with kernel 4.9
[openwrt/staging/yousong.git] / package / kernel / lantiq / ltq-vmmc / patches / 000-portability.patch
index 48602476f4f86a8cd81b79acc93722e34ea5af85..a9dd957792f5bdc63c6356a267a62b0b26cd4933 100644 (file)
  {
     IFX_int32_t retvalue = -EINVAL;
     mps_message rw_struct;
-@@ -613,17 +644,30 @@ IFX_int32_t ifx_mps_ioctl (struct inode 
+@@ -613,17 +644,30 @@ IFX_int32_t ifx_mps_ioctl (struct inode
        'mps_devices' enum type, which in fact is [0..8]; So, if inode value is
        [0..NUM_VOICE_CHANNEL+1], then we make sure that we are calling from
        kernel space. */