clock: remove duplicate xdelay declarations
ndelay is declared in include/clock.h, udelay in include/common.h and mdelay in include/common.h and include/clock.h. Move them all to include/clock.h and remove duplicates. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
4d90f44e6e
commit
9d54b6f6b6
|
@ -34,9 +34,8 @@ uint32_t clocksource_hz2mult(uint32_t hz, uint32_t shift_constant);
|
|||
int is_timeout(uint64_t start_ns, uint64_t time_offset_ns);
|
||||
int is_timeout_non_interruptible(uint64_t start_ns, uint64_t time_offset_ns);
|
||||
|
||||
// void udelay(unsigned long usecs);
|
||||
|
||||
void ndelay(unsigned long nsecs);
|
||||
void udelay(unsigned long usecs);
|
||||
void mdelay(unsigned long msecs);
|
||||
|
||||
#define SECOND ((uint64_t)(1000 * 1000 * 1000))
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include <stdio.h>
|
||||
#include <module.h>
|
||||
#include <config.h>
|
||||
#include <clock.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/string.h>
|
||||
|
@ -69,10 +70,6 @@ long get_ram_size (volatile long *, long);
|
|||
/* $(CPU)/cpu.c */
|
||||
void __noreturn poweroff(void);
|
||||
|
||||
/* lib_$(ARCH)/time.c */
|
||||
void udelay (unsigned long);
|
||||
void mdelay (unsigned long);
|
||||
|
||||
/* lib_generic/crc32.c */
|
||||
uint32_t crc32(uint32_t, const void*, unsigned int);
|
||||
uint32_t crc32_no_comp(uint32_t, const void*, unsigned int);
|
||||
|
|
Loading…
Reference in New Issue