Skip to contentSkip to conversation

MIPS: pistachio: remove obsolete include/asm/mach-pistachio

PATCH Applied Alexander Lobakin 2 participants 2 messages Feb 4, 2021 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: pistachio: remove obsolete include/asm/mach-pistachio

Since commit 02bd530f888c ("MIPS: generic: Increase NR_IRQS to 256") include/asm/mach-pistachio/irq.h just does nothing.
Remove the file along with mach-pistachio folder and include compiler directive.

---
 MAINTAINERS                                |  1 -
 arch/mips/include/asm/mach-pistachio/irq.h | 15 ---------------
 arch/mips/pistachio/Platform               |  2 --
 3 files changed, 18 deletions(-)
 delete mode 100644 arch/mips/include/asm/mach-pistachio/irq.h
MAINTAINERS +0 -1
index 6add29cb2060..3e58787907d4 100644
@@ -14099,7 +14099,6 @@ L:	[email protected]
 S:	Odd Fixes
 F:	arch/mips/boot/dts/img/pistachio*
 F:	arch/mips/configs/pistachio*_defconfig
-F:	arch/mips/include/asm/mach-pistachio/
 F:	arch/mips/pistachio/
 
 PKTCDVD DRIVER
arch/mips/include/asm/mach-pistachio/irq.h deleted +0 -15
deleted file mode 100644
index 74ac016503ad..000000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Pistachio IRQ setup
- *
- * Copyright (C) 2014 Google, Inc.
- */
-
-#ifndef __ASM_MACH_PISTACHIO_IRQ_H
-#define __ASM_MACH_PISTACHIO_IRQ_H
-
-#define NR_IRQS 256
-
-#include <asm/mach-generic/irq.h>
-
-#endif /* __ASM_MACH_PISTACHIO_IRQ_H */
arch/mips/pistachio/Platform +0 -2
index f73a1a929965..c59de86dbddf 100644
@@ -1,8 +1,6 @@
 #
 # IMG Pistachio SoC
 #
-cflags-$(CONFIG_MACH_PISTACHIO)		+=				\
-		-I$(srctree)/arch/mips/include/asm/mach-pistachio
 load-$(CONFIG_MACH_PISTACHIO)		+= 0xffffffff80400000
 zload-$(CONFIG_MACH_PISTACHIO)		+= 0xffffffff81000000
 all-$(CONFIG_MACH_PISTACHIO)		:= uImage.gz
Signature · 1 line
2.30.0
maintainer Applied
#1 lore raw
Quoted 5 lines · Alexander Lobakin

Since commit 02bd530f888c ("MIPS: generic: Increase NR_IRQS to 256") include/asm/mach-pistachio/irq.h just does nothing.
Remove the file along with mach-pistachio folder and include compiler directive.

Quoted 7 lines
---
 MAINTAINERS                                |  1 -
 arch/mips/include/asm/mach-pistachio/irq.h | 15 ---------------
 arch/mips/pistachio/Platform               |  2 --
 3 files changed, 18 deletions(-)
 delete mode 100644 arch/mips/include/asm/mach-pistachio/irq.h

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]