Skip to contentSkip to conversation

frv: remove wrapper header for asm/device.h

PATCH Applied Tobias Klauser 2 participants 2 messages May 17, 2017 – May 24, 2017

lore
Share & tools
lore
#0 lore raw

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

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.

---
 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
arch/frv/include/asm/Kbuild +1 -0
index 7d4ab04c657f..2cf7648787b2 100644
@@ -1,5 +1,6 @@
 
 generic-y += clkdev.h
+generic-y += device.h
 generic-y += exec.h
 generic-y += extable.h
 generic-y += fb.h
arch/frv/include/asm/device.h deleted +0 -7
deleted file mode 100644
index d8f9872b0e2d..000000000000
@@ -1,7 +0,0 @@
-/*
- * Arch specific extensions to struct device
- *
- * This file is released under the GPLv2
- */
-#include <asm-generic/device.h>
-
Signature · 1 line
2.13.0