• Vaibhav Gupta's avatar
    software: kernel: fmc-tdc: Update API for '(*read)' in 'struct memory_ops' · 47196bde
    Vaibhav Gupta authored
    In struct memory_ops, the function-pointer (*read) is declared as
    	u32 (*)(void *)
    
    In its use, its object is given the address of function 'ioread32' (or
    'ioread32be') which used to be of the same type.
    
    Since linux-v5.8, their protype has been changed to
    	u32 (*)(const void *)
    at:
    commit 8f28ca6bd8211214faf717677bbffe375c2a6072 ("iomap: constify ioreadX()
    iomem argument (as in generic implementation)")
    
    Hence, update the declaration of (*read) as well.
    Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
    47196bde
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...