]> git.karo-electronics.de Git - karo-tx-linux.git/commit
m68k/hp300: Export hp300_ledstate
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 7 Nov 2011 20:14:43 +0000 (21:14 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 28 Nov 2011 20:32:35 +0000 (21:32 +0100)
commit62b5a9e44b5c5935b11da93a2fa3a5ff2d31aee6
treed51c86021b7873cea3f64a8ab93dfcbc70bc4037
parent55d534e6a6eaa0dd0fd3466688867060a09319f5
m68k/hp300: Export hp300_ledstate

The accidental loss of CONFIG_DIO in commit
0e152d80507b75c00aac60f2ffc586360687cd52 ("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: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/hp300/config.c
arch/m68k/include/asm/blinken.h