Skip to contentSkip to conversation

score: remove wrapper header for asm/device.h

PATCH New Tobias Klauser 1 participant 1 message May 17, 2017

lore
Share & tools
lore
#0 lore raw

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

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

---
 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
arch/score/include/asm/Kbuild +1 -0
index 54b3b2039af1..c835a5e5d6f3 100644
@@ -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
arch/score/include/asm/device.h deleted +0 -6
deleted file mode 100644
index 2dc7cc5d5ef9..000000000000
@@ -1,6 +0,0 @@
-#ifndef _ASM_SCORE_DEVICE_H
-#define _ASM_SCORE_DEVICE_H
-
-#include <asm-generic/device.h>
-
-#endif /* _ASM_SCORE_DEVICE_H */
Signature · 1 line
2.13.0