forked from luck/tmp_suning_uos_patched
acaf892ecb
Many of the sh CPU-types have their own plat_irq_setup() and arch_init_clk_ops() functions, so these same (empty) functions in arch/sh/boards/of-generic.c are not needed and cause build errors. If there is some case where these empty functions are needed, they can be retained by marking them as "__weak" while at the same time making builds that do not need them succeed. Fixes these build errors: arch/sh/boards/of-generic.o: In function `plat_irq_setup': (.init.text+0x134): multiple definition of `plat_irq_setup' arch/sh/kernel/cpu/sh2/setup-sh7619.o:(.init.text+0x30): first defined here arch/sh/boards/of-generic.o: In function `arch_init_clk_ops': (.init.text+0x118): multiple definition of `arch_init_clk_ops' arch/sh/kernel/cpu/sh2/clock-sh7619.o:(.init.text+0x0): first defined here Link: http://lkml.kernel.org/r/9ee4e0c5-f100-86a2-bd4d-1d3287ceab31@infradead.org Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kbuild test robot <lkp@intel.com> Cc: Takashi Iwai <tiwai@suse.de> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Rich Felker <dalias@libc.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
mach-ap325rxa | ||
mach-cayman | ||
mach-dreamcast | ||
mach-ecovec24 | ||
mach-highlander | ||
mach-hp6xx | ||
mach-kfr2r09 | ||
mach-landisk | ||
mach-lboxre2 | ||
mach-microdev | ||
mach-migor | ||
mach-r2d | ||
mach-rsk | ||
mach-sdk7780 | ||
mach-sdk7786 | ||
mach-se | ||
mach-sh03 | ||
mach-sh7763rdp | ||
mach-x3proto | ||
board-apsh4a3a.c | ||
board-apsh4ad0a.c | ||
board-edosk7705.c | ||
board-edosk7760.c | ||
board-espt.c | ||
board-magicpanelr2.c | ||
board-polaris.c | ||
board-secureedge5410.c | ||
board-sh2007.c | ||
board-sh7757lcr.c | ||
board-sh7785lcr.c | ||
board-shmin.c | ||
board-titan.c | ||
board-urquell.c | ||
Kconfig | ||
Makefile | ||
of-generic.c |