Skip to contentSkip to conversation

mn10300: remove wrapper header for asm/device.h

PATCH New [email protected] 1 participant 1 message Jul 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 4/108 mn10300: remove wrapper header for asm/device.h

From: Tobias Klauser <[email protected]>
Subject: mn10300: remove wrapper header for asm/device.h

mn10300'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/mn10300/include/asm/Kbuild   |    1 +
 arch/mn10300/include/asm/device.h |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
arch/mn10300/include/asm/Kbuild renamed from arch/mn10300/include/asm/Kbuild~mn10300-remove-wrapper-header-for-asm-deviceh +1 -0
diff -puN arch/mn10300/include/asm/Kbuild~mn10300-remove-wrapper-header-for-asm-deviceh arch/mn10300/include/asm/Kbuild
@@ -1,6 +1,7 @@
 
 generic-y += barrier.h
 generic-y += clkdev.h
+generic-y += device.h
 generic-y += exec.h
 generic-y += extable.h
 generic-y += irq_work.h
arch/mn10300/include/asm/device.h deleted +0 -1
diff -puN arch/mn10300/include/asm/device.h~mn10300-remove-wrapper-header-for-asm-deviceh /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/device.h>

_