zio: drivers: zio-vmk8055: use timer_setup instead of setup_timer with kernel >…
zio: drivers: zio-vmk8055: use timer_setup instead of setup_timer with kernel > 4.15, add dedicated callback
Since 4.15 timer callback take a struct timer_list argument instead of
unsigned long.
This patch split zvmk80xx_send_urb (timer callback) to a common function
(__zvmk80xx_send_urb) with a struct zvmk80xx_cset parameter and two
dedicated function according to kernel version. Since the signature of the
common function has changed, call in zvmk80xx_generic_raw_io is updated too
to suppress cast zvmk80xx_cset -> unsigned long.
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Federico Vaga <federico.vaga@vaga.pv.it> (CERN)
Showing
Please
register
or
sign in
to comment