[PATCH 4/4] ARM: at91: remove lan966x file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove Makefile entry and lan966x.c file as it is
not required.

Signed-off-by: Kavyasree Kotagiri <kavyasree.kotagiri@xxxxxxxxxxxxx>
---
 arch/arm/mach-at91/Makefile  |  1 -
 arch/arm/mach-at91/lan966x.c | 25 -------------------------
 2 files changed, 26 deletions(-)
 delete mode 100644 arch/arm/mach-at91/lan966x.c

diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index 2bb65f2c8863..522b680b6446 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -6,7 +6,6 @@
 # CPU-specific support
 obj-$(CONFIG_SOC_AT91RM9200)	+= at91rm9200.o
 obj-$(CONFIG_SOC_AT91SAM9)	+= at91sam9.o
-obj-$(CONFIG_SOC_LAN966X)	+= lan966x.o
 obj-$(CONFIG_SOC_SAM9X60)	+= sam9x60.o
 obj-$(CONFIG_SOC_SAMA5)		+= sama5.o
 obj-$(CONFIG_SOC_SAMA7)		+= sama7.o
diff --git a/arch/arm/mach-at91/lan966x.c b/arch/arm/mach-at91/lan966x.c
deleted file mode 100644
index 154d616569ae..000000000000
--- a/arch/arm/mach-at91/lan966x.c
+++ /dev/null
@@ -1,25 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * Setup code for LAN966X
- *
- * Copyright (C) 2021 Microchip Technology, Inc. and its subsidiaries
- *
- */
-
-#include <linux/of.h>
-#include <linux/of_platform.h>
-
-#include <asm/mach/arch.h>
-#include <asm/system_misc.h>
-
-#include "generic.h"
-
-static const char *const lan966x_dt_board_compat[] __initconst = {
-	"microchip,lan966x",
-	NULL
-};
-
-DT_MACHINE_START(lan966x_dt, "Microchip LAN966X")
-	/* Maintainer: Microchip */
-	.dt_compat	= lan966x_dt_board_compat,
-MACHINE_END
-- 
2.17.1




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux