Files
facetimehd/fthd_drv.h
Numan Siddique f62b01d625 Fix compilation error with 4.19+ kernels
make[1]: Entering directory '/usr/src/kernels/4.19.9-300.fc29.x86_64'
  CC [M]  bcwc_pcie/fthd_ddr.o
In file included from bcwc_pcie/fthd_ddr.c:21:
bcwc_pcie/fthd_drv.h:121:5: warning: "LINUX_VERSION_CODE" is not defined, evaluates to 0 [-Wundef]
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,8,0)
     ^~~~~~~~~~~~~~~~~~
bcwc_pcie/fthd_drv.h:121:26: warning: "KERNEL_VERSION" is not defined, evaluates to 0 [-Wundef]
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,8,0)
                          ^~~~~~~~~~~~~~
bcwc_pcie/fthd_drv.h:121:40: error: missing binary operator before token "("
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4,8,0)
...

Fixes the above compilation error

Signed-off-by: Numan Siddique <numan.siddique@gmail.com>
2018-12-30 15:47:47 +05:30

3.0 KiB