patch to fix build against kernel 4.14 with struct randomization; rel 3
[packages/xorg-driver-video-nvidia.git] / structrand.patch
1 --- kernel/nvidia-modeset/nvidia-modeset-linux.c.dist   2017-07-20 04:25:38.000000000 -0400
2 +++ kernel/nvidia-modeset/nvidia-modeset-linux.c        2017-08-02 14:44:22.979688575 -0400
3 @@ -337,8 +337,8 @@
4  
5  static nvidia_modeset_rm_ops_t __rm_ops = { 0 };
6  static nvidia_modeset_callbacks_t nvkms_rm_callbacks = {
7 -    nvkms_suspend,
8 -    nvkms_resume
9 +    .suspend = nvkms_suspend,
10 +    .resume = nvkms_resume
11  };
12  
13  static int nvkms_alloc_rm(void)
This page took 0.058969 seconds and 3 git commands to generate.