]> git.baikalelectronics.ru Git - kernel.git/commit
mISDN: change function names to avoid conflicts
authorwolfgang huang <huangjinhui@kylinos.cn>
Tue, 28 Dec 2021 08:01:20 +0000 (16:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Dec 2021 12:12:04 +0000 (12:12 +0000)
commite32daa81e758490242094013205a4993a9475d57
tree07fcbb421f1b990a1e5a4cb8cfd0c6c96e3348bc
parent4dea03c068c4b5734f5a86c1458535e4312b31e6
mISDN: change function names to avoid conflicts

As we build for mips, we meet following error. l1_init error with
multiple definition. Some architecture devices usually marked with
l1, l2, lxx as the start-up phase. so we change the mISDN function
names, align with Isdnl2_xxx.

mips-linux-gnu-ld: drivers/isdn/mISDN/layer1.o: in function `l1_init':
(.text+0x890): multiple definition of `l1_init'; \
arch/mips/kernel/bmips_5xxx_init.o:(.text+0xf0): first defined here
make[1]: *** [home/mips/kernel-build/linux/Makefile:1161: vmlinux] Error 1

Signed-off-by: wolfgang huang <huangjinhui@kylinos.cn>
Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/core.c
drivers/isdn/mISDN/core.h
drivers/isdn/mISDN/layer1.c