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

sh: Defer to asm-generic/device.h.

Now that the hwblk use cases have been ripped out, we can revert to
asm-generic/device.h for the device/platform device arch data structures.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+4 -4
+4 -4
arch/sh/include/asm/device.h
··· 3 3 * 4 4 * This file is released under the GPLv2 5 5 */ 6 + #ifndef __ASM_SH_DEVICE_H 7 + #define __ASM_SH_DEVICE_H 6 8 7 - struct dev_archdata { 8 - }; 9 + #include <asm-generic/device.h> 9 10 10 11 struct platform_device; 11 12 /* allocate contiguous memory chunk and fill in struct resource */ ··· 15 14 16 15 void plat_early_device_setup(void); 17 16 18 - struct pdev_archdata { 19 - }; 17 + #endif /* __ASM_SH_DEVICE_H */