Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa: remove wrapper header for asm/device.h

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>

authored by

Tobias Klauser and committed by
Max Filippov
b82d6cb4 5771a8c0

+1 -15
+1
arch/xtensa/include/asm/Kbuild
··· 1 1 generic-y += bug.h 2 2 generic-y += clkdev.h 3 + generic-y += device.h 3 4 generic-y += div64.h 4 5 generic-y += dma-contiguous.h 5 6 generic-y += emergency-restart.h
-15
arch/xtensa/include/asm/device.h
··· 1 - /* 2 - * Arch specific extensions to struct device 3 - * 4 - * This file is released under the GPLv2 5 - */ 6 - #ifndef _ASM_XTENSA_DEVICE_H 7 - #define _ASM_XTENSA_DEVICE_H 8 - 9 - struct dev_archdata { 10 - }; 11 - 12 - struct pdev_archdata { 13 - }; 14 - 15 - #endif /* _ASM_XTENSA_DEVICE_H */