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


Groups > linux.kernel > #1643313 > unrolled thread

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

Started byTobias Klauser <tklauser@distanz.ch>
First post2017-05-17 14:40 +0200
Last post2017-05-17 14:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] score: remove wrapper header for asm/device.h Tobias Klauser <tklauser@distanz.ch> - 2017-05-17 14:40 +0200

#1643313 — [PATCH] score: remove wrapper header for asm/device.h

FromTobias Klauser <tklauser@distanz.ch>
Date2017-05-17 14:40 +0200
Subject[PATCH] score: remove wrapper header for asm/device.h
Message-ID<tI6pb-35o-3@gated-at.bofh.it>
score'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/score/include/asm/Kbuild   | 1 +
 arch/score/include/asm/device.h | 6 ------
 2 files changed, 1 insertion(+), 6 deletions(-)
 delete mode 100644 arch/score/include/asm/device.h

diff --git a/arch/score/include/asm/Kbuild b/arch/score/include/asm/Kbuild
index 54b3b2039af1..c835a5e5d6f3 100644
--- a/arch/score/include/asm/Kbuild
+++ b/arch/score/include/asm/Kbuild
@@ -1,6 +1,7 @@
 generic-y += barrier.h
 generic-y += clkdev.h
 generic-y += current.h
+generic-y += device.h
 generic-y += extable.h
 generic-y += irq_work.h
 generic-y += mcs_spinlock.h
diff --git a/arch/score/include/asm/device.h b/arch/score/include/asm/device.h
deleted file mode 100644
index 2dc7cc5d5ef9..000000000000
--- a/arch/score/include/asm/device.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _ASM_SCORE_DEVICE_H
-#define _ASM_SCORE_DEVICE_H
-
-#include <asm-generic/device.h>
-
-#endif /* _ASM_SCORE_DEVICE_H */
-- 
2.13.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web