linux/arch/mips/lib
Paul Burton c2c0974217 MIPS: Include asm/delay.h for __{,n,u}delay()
arch/mips/lib/delay.c provides our implementations of the __delay(),
__ndelay() & __udelay() functions, but doesn't include the asm/delay.h
header which declares them. This leads to warnings from sparse:

  arch/mips/lib/delay.c:26:6: warning: symbol '__delay' was not
    declared. Should it be static?
  arch/mips/lib/delay.c:50:6: warning: symbol '__udelay' was not
    declared. Should it be static?
  arch/mips/lib/delay.c:58:6: warning: symbol '__ndelay' was not
    declared. Should it be static?

To keep checkpatch happy was well, include <linux/delay.h> rather than
<asm/delay.h> directly to get the declarations of __delay(), __ndelay() &
__udelay().

[ralf@linux-mips.org: Fixed to include <linux/delay.h.]

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: trivial@kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17170/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-08-29 15:21:54 +02:00
..
ashldi3.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
ashrdi3.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
bitops.c MIPS: Remove unneeded volatile from arch/mips/lib/bitops.c 2013-05-08 01:19:06 +02:00
bswapdi.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
bswapsi.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
cmpdi2.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
csum_partial.S MIPS: Export csum functions alongside their definitions 2017-01-03 16:34:50 +01:00
delay.c MIPS: Include asm/delay.h for __{,n,u}delay() 2017-08-29 15:21:54 +02:00
dump_tlb.c MIPS: dump_tlb: Fix printk continuations 2016-11-04 01:04:32 +01:00
iomap-pci.c MIPS: PCI: Introduce CONFIG_PCI_DRIVERS_LEGACY 2016-10-06 18:00:05 +02:00
iomap.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
libgcc.h
lshrdi3.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
Makefile kill strlen_user() 2017-05-15 23:40:22 -04:00
memcpy.S MIPS: R6: Fix PREF instruction usage by memcpy for MIPS R6 2017-06-29 02:42:24 +02:00
memset.S MIPS: Export memcpy & memset functions alongside their definitions 2017-01-03 16:34:50 +01:00
mips-atomic.c MIPS: Cleanup the unused __arch_local_irq_restore() function 2016-01-22 01:58:49 +01:00
r3k_dump_tlb.c MIPS: dump_tlb: Fix printk continuations 2016-11-04 01:04:32 +01:00
strncpy_user.S get rid of unused __strncpy_from_user() instances 2017-05-15 23:40:28 -04:00
strnlen_user.S mips: get rid of unused __strnlen_user() 2017-05-15 23:40:32 -04:00
ucmpdi2.c MIPS: lib: Audit and remove any unnecessary uses of module.h 2016-10-05 01:31:20 +02:00
uncached.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00