linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH mips-next] MIPS: pistachio: remove obsolete include/asm/mach-pistachio
@ 2021-02-04 13:59 Alexander Lobakin
  2021-02-04 21:00 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Lobakin @ 2021-02-04 13:59 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: James Hartley, bibo mao, Alexander Lobakin, linux-kernel, linux-mips

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.

Signed-off-by: Alexander Lobakin <alobakin@pm.me>
---
 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

diff --git a/MAINTAINERS b/MAINTAINERS
index 6add29cb2060..3e58787907d4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -14099,7 +14099,6 @@ L:	linux-mips@vger.kernel.org
 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
diff --git a/arch/mips/include/asm/mach-pistachio/irq.h b/arch/mips/include/asm/mach-pistachio/irq.h
deleted file mode 100644
index 74ac016503ad..000000000000
--- a/arch/mips/include/asm/mach-pistachio/irq.h
+++ /dev/null
@@ -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 */
diff --git a/arch/mips/pistachio/Platform b/arch/mips/pistachio/Platform
index f73a1a929965..c59de86dbddf 100644
--- a/arch/mips/pistachio/Platform
+++ b/arch/mips/pistachio/Platform
@@ -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
-- 
2.30.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH mips-next] MIPS: pistachio: remove obsolete include/asm/mach-pistachio
  2021-02-04 13:59 [PATCH mips-next] MIPS: pistachio: remove obsolete include/asm/mach-pistachio Alexander Lobakin
@ 2021-02-04 21:00 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2021-02-04 21:00 UTC (permalink / raw)
  To: Alexander Lobakin; +Cc: James Hartley, bibo mao, linux-kernel, linux-mips

On Thu, Feb 04, 2021 at 01:59:29PM +0000, Alexander Lobakin wrote:
> 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.
> 
> Signed-off-by: Alexander Lobakin <alobakin@pm.me>
> ---
>  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.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-04 21:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 13:59 [PATCH mips-next] MIPS: pistachio: remove obsolete include/asm/mach-pistachio Alexander Lobakin
2021-02-04 21:00 ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).