hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/mips/lantiq/prom.c
....@@ -1,14 +1,12 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
2
- * This program is free software; you can redistribute it and/or modify it
3
- * under the terms of the GNU General Public License version 2 as published
4
- * by the Free Software Foundation.
53 *
64 * Copyright (C) 2010 John Crispin <john@phrozen.org>
75 */
86
97 #include <linux/export.h>
108 #include <linux/clk.h>
11
-#include <linux/bootmem.h>
9
+#include <linux/memblock.h>
1210 #include <linux/of_fdt.h>
1311
1412 #include <asm/bootinfo.h>
....@@ -81,7 +79,7 @@
8179
8280 if (fw_passed_dtb) /* UHI interface */
8381 dtb = (void *)fw_passed_dtb;
84
- else if (__dtb_start != __dtb_end)
82
+ else if (&__dtb_start != &__dtb_end)
8583 dtb = (void *)__dtb_start;
8684 else
8785 panic("no dtb found");