ARM: uniphier: clean up board_init
Remove unnecessary DECLARE_GLOBAL_DATA_PTR and header includes. <common.h> has been replaced with <linux/errno.h> and <linux/printk.h>. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
0290700429
commit
ac389b0749
@ -6,17 +6,14 @@
|
|||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <linux/errno.h>
|
||||||
#include <libfdt.h>
|
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
|
#include <linux/printk.h>
|
||||||
|
|
||||||
#include "init.h"
|
#include "init.h"
|
||||||
#include "micro-support-card.h"
|
#include "micro-support-card.h"
|
||||||
#include "sg-regs.h"
|
|
||||||
#include "soc-info.h"
|
#include "soc-info.h"
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_UNIPHIER_LD20
|
#ifdef CONFIG_ARCH_UNIPHIER_LD20
|
||||||
static void uniphier_ld20_misc_init(void)
|
static void uniphier_ld20_misc_init(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user