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


Groups > linux.kernel > #1643313

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

From Tobias Klauser <tklauser@distanz.ch>
Newsgroups linux.kernel
Subject [PATCH] score: remove wrapper header for asm/device.h
Date 2017-05-17 14:40 +0200
Message-ID <tI6pb-35o-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web