1 /* SPDX-License-Identifier: GPL-2.0+ */
6 #include <linux/kernel.h>
8 void __udelay(unsigned long usec);
9 void udelay(unsigned long usec);
11 static inline void mdelay(unsigned long msec)
16 static inline void ndelay(unsigned long nsec)
18 udelay(DIV_ROUND_UP(nsec, 1000));
21 #endif /* defined(_LINUX_DELAY_H) */