• Vaibhav Gupta's avatar
    software: kernel: fmc-spec-core: Add 'linux/platform_device.h' · c4474151
    Vaibhav Gupta authored
    The 'struct platform_device_id' is defined in 'linux/mod_devicetable.h';
    this header was #include in 'linux/platform_device.h'. Hence, using the
    latter header-file was enough. But in linux-v4.18 at:
    
    	commit ac3167257b9fe16c9426c2087ead1c9f1b0992b1 ("headers: separate
    	linux/mod_devicetable.h from linux/platform_device.h")
    
    the former was no more included in the latter. Thus, we need to do it
    explicitly.
    
    Since this change makes no difference if this driver is compiled against
    Kernel version less than v4.18, we do not need any conditional
    directives.
    Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
    c4474151
Name
Last commit
Last update
.reuse Loading commit data...
LICENSES Loading commit data...
doc Loading commit data...
hdl Loading commit data...
software Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
.readthedocs.yml Loading commit data...
CHANGELOG.rst Loading commit data...
Manifest.py Loading commit data...
README.rst Loading commit data...