linux/arch/cris/arch-v32/mm
Jesper Nilsson 9d74179a22 cris: intmem: fix device_initcall compile warning
Cannot add __init macro to crisv32_intmem_init,
since the function is being called by other functions.
Creating a wrapper instead.

arch/cris/arch-v32/mm/intmem.c: At top level:
arch/cris/arch-v32/mm/intmem.c:148:17: warning: initialization from incompatible pointer type
 device_initcall(crisv32_intmem_init);
                 ^
include/linux/init.h:184:58: note: in definition of macro ‘__define_initcall’
  __attribute__((__section__(".initcall" #id ".init"))) = fn; \

arch/cris/arch-v32/mm/intmem.c:148:1: note: in expansion of macro ‘device_initcall’
 device_initcall(crisv32_intmem_init);
 ^

Signed-off-by: Niklas Cassel <nks@flawful.org>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2016-09-22 16:03:52 +02:00
..
init.c CRIS: remove SMP code 2015-03-25 10:55:10 +01:00
intmem.c cris: intmem: fix device_initcall compile warning 2016-09-22 16:03:52 +02:00
l2cache.c
Makefile CRIS v32: Whitespace and formatting changes for kernel/ptrace.c 2008-02-08 11:06:24 +01:00
mmu.S CRIS: remove SMP code 2015-03-25 10:55:10 +01:00
tlb.c tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00