Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1643329 > unrolled thread

[PATCH] frv: remove wrapper header for asm/device.h

Started byTobias Klauser <tklauser@distanz.ch>
First post2017-05-17 14:50 +0200
Last post2017-05-24 15:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] frv: remove wrapper header for asm/device.h Tobias Klauser <tklauser@distanz.ch> - 2017-05-17 14:50 +0200
    Re: [PATCH] frv: remove wrapper header for asm/device.h David Howells <dhowells@redhat.com> - 2017-05-24 15:10 +0200

#1643329 — [PATCH] frv: remove wrapper header for asm/device.h

FromTobias Klauser <tklauser@distanz.ch>
Date2017-05-17 14:50 +0200
Subject[PATCH] frv: remove wrapper header for asm/device.h
Message-ID<tI6yS-392-11@gated-at.bofh.it>
frv's asm/device.h is merely including asm-generic/device.h. Thus, the
arch specific header can be omitted and the generic header can be used
directly.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 arch/frv/include/asm/Kbuild   | 1 +
 arch/frv/include/asm/device.h | 7 -------
 2 files changed, 1 insertion(+), 7 deletions(-)
 delete mode 100644 arch/frv/include/asm/device.h

diff --git a/arch/frv/include/asm/Kbuild b/arch/frv/include/asm/Kbuild
index 7d4ab04c657f..2cf7648787b2 100644
--- a/arch/frv/include/asm/Kbuild
+++ b/arch/frv/include/asm/Kbuild
@@ -1,5 +1,6 @@
 
 generic-y += clkdev.h
+generic-y += device.h
 generic-y += exec.h
 generic-y += extable.h
 generic-y += fb.h
diff --git a/arch/frv/include/asm/device.h b/arch/frv/include/asm/device.h
deleted file mode 100644
index d8f9872b0e2d..000000000000
--- a/arch/frv/include/asm/device.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- * Arch specific extensions to struct device
- *
- * This file is released under the GPLv2
- */
-#include <asm-generic/device.h>
-
-- 
2.13.0

[toc] | [next] | [standalone]


#1649600

FromDavid Howells <dhowells@redhat.com>
Date2017-05-24 15:10 +0200
Message-ID<tKEd3-2Lr-1@gated-at.bofh.it>
In reply to#1643329
Tobias Klauser <tklauser@distanz.ch> wrote:

> frv's asm/device.h is merely including asm-generic/device.h. Thus, the
> arch specific header can be omitted and the generic header can be used
> directly.
> 
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>

Reviewed-by: David Howells <dhowells@redhat.com>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web