[lantiq]
[openwrt/svn-archive/archive.git] / package / ltq-vmmc / patches / 200-kernel-37.patch
1 --- a/src/drv_vmmc_init.c
2 +++ b/src/drv_vmmc_init.c
3 @@ -1594,7 +1594,7 @@
4 #ifdef VMMC_DRIVER_UNLOAD_HOOK
5 if (VDevices[0].nDevState & DS_GPIO_RESERVED)
6 {
7 - IFX_int32_t ret;
8 + IFX_int32_t ret = 0;
9 VMMC_DRIVER_UNLOAD_HOOK(ret);
10 if (!VMMC_SUCCESS(ret))
11 {
12 --- a/src/mps/drv_mps_vmmc_linux.c
13 +++ b/src/mps/drv_mps_vmmc_linux.c
14 @@ -173,7 +173,7 @@
15 static struct file_operations ifx_mps_fops = {
16 owner:THIS_MODULE,
17 poll:ifx_mps_poll,
18 - ioctl:ifx_mps_ioctl,
19 + unlocked_ioctl:ifx_mps_ioctl,
20 open:ifx_mps_open,
21 release:ifx_mps_close
22 };