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


Groups > linux.kernel > #1693475

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

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Tobias Klauser <tklauser@distanz.ch>
Newsgroups linux.kernel
Subject [PATCH v2] xtensa: remove wrapper header for asm/device.h
Date Fri, 21 Jul 2017 10:40:02 +0200
Message-ID <u5BDA-2rl-9@gated-at.bofh.it> (permalink)
X-Original-To Andrew Morton <akpm@linux-foundation.org>
X-Mailer git-send-email 2.13.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 48
Organization linux.* mail to news gateway
X-Original-Cc Chris Zankel <chris@zankel.net>, Max Filippov <jcmvbkbc@gmail.com>, linux-kernel@vger.kernel.org, linux-xtensa@linux-xtensa.org
X-Original-Date Fri, 21 Jul 2017 10:35:31 +0200
X-Original-Message-ID <20170721083531.7700-1-tklauser@distanz.ch>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1693475

Show key headers only | View raw


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.

Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
v2: rebased after Kbuild update, added Acked-by by Max

 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 2d716ebc5a5e..a2fdabfce43a 100644
--- a/arch/xtensa/include/asm/Kbuild
+++ b/arch/xtensa/include/asm/Kbuild
@@ -1,5 +1,6 @@
 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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2] xtensa: remove wrapper header for asm/device.h Tobias Klauser <tklauser@distanz.ch> - 2017-07-21 10:40 +0200
  Re: [PATCH v2] xtensa: remove wrapper header for asm/device.h Max Filippov <jcmvbkbc@gmail.com> - 2017-07-21 12:30 +0200

csiph-web