* [PATCH] mn10300: remove wrapper header for asm/device.h
@ 2017-05-17 12:48 Tobias Klauser
2017-05-24 12:59 ` David Howells
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2017-05-17 12:48 UTC (permalink / raw)
To: David Howells; +Cc: linux-am33-list, linux-kernel
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.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
arch/mn10300/include/asm/Kbuild | 1 +
arch/mn10300/include/asm/device.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
delete mode 100644 arch/mn10300/include/asm/device.h
diff --git a/arch/mn10300/include/asm/Kbuild b/arch/mn10300/include/asm/Kbuild
index d1c22f9c8db5..db5b57829a81 100644
--- a/arch/mn10300/include/asm/Kbuild
+++ b/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 += fb.h
diff --git a/arch/mn10300/include/asm/device.h b/arch/mn10300/include/asm/device.h
deleted file mode 100644
index f0a4c256403b..000000000000
--- a/arch/mn10300/include/asm/device.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/device.h>
--
2.13.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mn10300: remove wrapper header for asm/device.h
2017-05-17 12:48 [PATCH] mn10300: remove wrapper header for asm/device.h Tobias Klauser
@ 2017-05-24 12:59 ` David Howells
0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2017-05-24 12:59 UTC (permalink / raw)
To: Tobias Klauser; +Cc: dhowells, linux-am33-list, linux-kernel
Tobias Klauser <tklauser@distanz.ch> wrote:
> 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.
>
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Reviewed-by: David Howells <dhowells@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-24 13:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 12:48 [PATCH] mn10300: remove wrapper header for asm/device.h Tobias Klauser
2017-05-24 12:59 ` David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®