• Geert Uytterhoeven's avatar
    m68k/atari - stram: Add missing #include <linux/ioport.h> · 9aa59cac
    Geert Uytterhoeven authored
    If CONFIG_BLOCK=n:
    
    arch/m68k/atari/stram.c:44: error: variable ‘stram_pool’ has initializer but incomplete type
    arch/m68k/atari/stram.c:45: error: unknown field ‘name’ specified in initializer
    arch/m68k/atari/stram.c:46: warning: excess elements in struct initializer
    arch/m68k/atari/stram.c:46: warning: (near initialization for ‘stram_pool’)
    arch/m68k/atari/stram.c: In function ‘atari_stram_reserve_pages’:
    arch/m68k/atari/stram.c:97: error: invalid use of undefined type ‘struct resource’
    ...
    Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    9aa59cac
stram.c 4.79 KB