Merge branch '167-warning-no-previous-prototype-for-ec_master_nanosleep-wmissing-prototypes-when-i-try-sudo-make' into 'stable-1.6'

Resolve "warning: no previous prototype for 'ec_master_nanosleep' [-Wmissing-prototypes] when i try 'sudo make modules'"

Closes #167

See merge request etherlab.org/ethercat!165
This commit is contained in:
Florian Pose 2025-03-26 09:06:08 +01:00
commit 7843101ed3
1 changed files with 1 additions and 3 deletions

View File

@ -126,6 +126,7 @@ static int ec_master_eoe_thread(void *);
void ec_master_find_dc_ref_clock(ec_master_t *);
void ec_master_clear_device_stats(ec_master_t *);
void ec_master_update_device_stats(ec_master_t *);
void ec_master_nanosleep(const unsigned long);
static void sc_reset_task_kicker(struct irq_work *work);
static void sc_reset_task(struct work_struct *work);
@ -1393,9 +1394,6 @@ static enum hrtimer_restart ec_master_nanosleep_wakeup(struct hrtimer *timer)
return HRTIMER_NORESTART;
}
/****************************************************************************/
/****************************************************************************/
void ec_master_nanosleep(const unsigned long nsecs)