]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
xtensa: remove wrapper header for asm/device.h
authorTobias Klauser <tklauser@distanz.ch>
Fri, 21 Jul 2017 08:35:31 +0000 (10:35 +0200)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 21 Jul 2017 10:12:55 +0000 (03:12 -0700)
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>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/Kbuild
arch/xtensa/include/asm/device.h [deleted file]

index 2d716ebc5a5e90d62c3759e01a512e0ff6ab9de4..a2fdabfce43abda0bd144e62de90c2f865f6261e 100644 (file)
@@ -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 (file)
index 1deeb8e..0000000
+++ /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 */