Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

block/z2ram: Remove duplicate external declarations

Remove the external declarations for m68k_realnum_memory and m68k_memory,
which are already provided by <asm/setup.h>, to avoid conflicts later.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

-3
-3
drivers/block/z2ram.c
··· 43 43 #include <linux/zorro.h> 44 44 45 45 46 - extern int m68k_realnum_memory; 47 - extern struct mem_info m68k_memory[NUM_MEMINFO]; 48 - 49 46 #define Z2MINOR_COMBINED (0) 50 47 #define Z2MINOR_Z2ONLY (1) 51 48 #define Z2MINOR_CHIPONLY (2)