• Geert Uytterhoeven's avatar
    m68k/hp300: Export hp300_ledstate · f808b865
    Geert Uytterhoeven authored
    The accidental loss of CONFIG_DIO in commit
    0e152d80 ("m68k: reorganize Kconfig options
    to improve mmu/non-mmu selections") exposed a missing symbol export in
    m68k allmodconfig.  If CONFIG_HP300=y but CONFIG_HPLANCE (which is bool,
    and depends on CONFIG_DIO) is not set, and CONFIG_MVME147=y and
    CONFIG_MVME147_NET=m, 7990.c is compiled as a module, giving:
    
    ERROR: "ledstate" [drivers/net/ethernet/amd/7990.ko] undefined!
    
    Add the missing export, and rename ledstate to hp300_ledstate while we're
    at it, as it's a too generic name.
    Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    f808b865
config.c 6.51 KB