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


Groups > linux.kernel > #1643332 > unrolled thread

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

Started byTobias Klauser <tklauser@distanz.ch>
First post2017-05-17 14:50 +0200
Last post2017-05-17 21:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] xtensa: remove wrapper header for asm/device.h Tobias Klauser <tklauser@distanz.ch> - 2017-05-17 14:50 +0200
    Re: [PATCH] xtensa: remove wrapper header for asm/device.h Max Filippov <jcmvbkbc@gmail.com> - 2017-05-17 21:30 +0200

#1643332 — [PATCH] xtensa: remove wrapper header for asm/device.h

FromTobias Klauser <tklauser@distanz.ch>
Date2017-05-17 14:50 +0200
Subject[PATCH] xtensa: remove wrapper header for asm/device.h
Message-ID<tI6yS-392-17@gated-at.bofh.it>
xtensa's asm/device.h is a verbatim copy of asm-generic/device.h and
does not add any arch specific extensions. Thus, use the asm-generic
header directly.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 arch/xtensa/include/asm/Kbuild   |  1 +
 arch/xtensa/include/asm/device.h | 15 ---------------
 2 files changed, 1 insertion(+), 15 deletions(-)
 delete mode 100644 arch/xtensa/include/asm/device.h

diff --git a/arch/xtensa/include/asm/Kbuild b/arch/xtensa/include/asm/Kbuild
index 987fbe673803..45fcb7ea799c 100644
--- a/arch/xtensa/include/asm/Kbuild
+++ b/arch/xtensa/include/asm/Kbuild
@@ -1,6 +1,7 @@
 generic-y += bitsperlong.h
 generic-y += bug.h
 generic-y += clkdev.h
+generic-y += device.h
 generic-y += div64.h
 generic-y += dma-contiguous.h
 generic-y += emergency-restart.h
diff --git a/arch/xtensa/include/asm/device.h b/arch/xtensa/include/asm/device.h
deleted file mode 100644
index 1deeb8ebbb1b..000000000000
--- a/arch/xtensa/include/asm/device.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Arch specific extensions to struct device
- *
- * This file is released under the GPLv2
- */
-#ifndef _ASM_XTENSA_DEVICE_H
-#define _ASM_XTENSA_DEVICE_H
-
-struct dev_archdata {
-};
-
-struct pdev_archdata {
-};
-
-#endif /* _ASM_XTENSA_DEVICE_H */
-- 
2.13.0

[toc] | [next] | [standalone]


#1643588

FromMax Filippov <jcmvbkbc@gmail.com>
Date2017-05-17 21:30 +0200
Message-ID<tIcNX-7cM-1@gated-at.bofh.it>
In reply to#1643332
On Wed, May 17, 2017 at 5:42 AM, Tobias Klauser <tklauser@distanz.ch> wrote:
> xtensa's asm/device.h is a verbatim copy of asm-generic/device.h and
> does not add any arch specific extensions. Thus, use the asm-generic
> header directly.
>
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
> ---
>  arch/xtensa/include/asm/Kbuild   |  1 +
>  arch/xtensa/include/asm/device.h | 15 ---------------
>  2 files changed, 1 insertion(+), 15 deletions(-)
>  delete mode 100644 arch/xtensa/include/asm/device.h

Acked-by: Max Filippov <jcmvbkbc@gmail.com>

-- 
Thanks.
-- Max

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web