mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

After commita934a57a42
("scripts/misc-check: check missing #include <linux/export.h> when W=1") and7d95680d64
("scripts/misc-check: check unnecessary #include <linux/export.h> when W=1"), we get some build warnings with W=1: arch/mips/loongson64/setup.c: warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present So fix these build warnings for MIPS/Loongson. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
22 lines
440 B
C
22 lines
440 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology
|
|
* Author: Fuxin Zhang, zhangfx@lemote.com
|
|
*/
|
|
#include <linux/init.h>
|
|
|
|
#include <asm/bootinfo.h>
|
|
#include <linux/libfdt.h>
|
|
#include <linux/of_fdt.h>
|
|
|
|
#include <asm/prom.h>
|
|
|
|
#include <loongson.h>
|
|
|
|
void *loongson_fdt_blob;
|
|
|
|
void __init plat_mem_setup(void)
|
|
{
|
|
if (loongson_fdt_blob)
|
|
__dt_setup_arch(loongson_fdt_blob);
|
|
}
|