Commit d77c10ff authored by Vaibhav Gupta's avatar Vaibhav Gupta

[Fix] kernel: spec_core: Put conditional directives in header file too.

In the commit:
	commit 02ec43ce74e015eed509305e4faad78c9a8f828a ("kernel:
	spec_core: Update API setup_timer() to timer_setup()")

We added the newer protoype for 'fd_update_calibration()' along-with the
older one with conditional ditrectives.

Reflect the same changes in 'fine-delay.h' to avoid compilation error.
Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
parent 041c7335
......@@ -393,7 +393,13 @@ extern void acam_writel(struct fd_dev *fd, int val, int reg);
/* Functions exported by calibrate.c, called within acam.c */
extern int fd_calibrate_outputs(struct fd_dev *fd);
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0)
extern void fd_update_calibration(unsigned long arg);
#else
extern void fd_update_calibration(struct timer_list *arg);
#endif
extern int fd_calib_period_s;
/* Functions exported by gpio.c */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment