python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / sun7i-kernel / patches / 0004-fix-mixed_declarations_and_code.patch
blob13ce3d3b6bc503109f2024cf5e2925722165f965
1 The order of variable definitions and code can't be mixed with ISOC90
3 --- drivers/net/wireless/rtxx7x/os/linux/usb_main_dev.c 2015-03-15 20:30:43.000000000 +0100
4 +++ drivers/net/wireless/rtxx7x/os/linux/usb_main_dev.c 2016-12-11 23:17:00.710634654 +0100
5 @@ -444,11 +444,11 @@
6 struct net_device *net_dev;
7 VOID *pAd = usb_get_intfdata(intf);
9 - late_resume_flag = TRUE;
11 #ifdef USB_SUPPORT_SELECTIVE_SUSPEND
12 UCHAR Flag;
13 #endif
15 + late_resume_flag = TRUE;
16 #if defined(CONFIG_HAS_EARLYSUSPEND) || defined(CONFIG_ANDROID_POWER)
17 if ((RT_IS_EARLYSUSPEND_REGISTERED((PRTMP_ADAPTER)pAd)) && (late_resume_flag == TRUE)){
18 VIRTUAL_IF_DOWN((VOID *)pAd);