diff options
Diffstat (limited to 'src/include/delay.h')
-rw-r--r-- | src/include/delay.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/delay.h b/src/include/delay.h index b3d8ed95da..ab1f4f9829 100644 --- a/src/include/delay.h +++ b/src/include/delay.h @@ -1,7 +1,11 @@ #ifndef DELAY_H #define DELAY_H +#if IS_ENABLED(CONFIG_GENERIC_UDELAY) +static inline void init_timer(void) {} +#else void init_timer(void); +#endif void udelay(unsigned usecs); void mdelay(unsigned msecs); |