spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / arch / sh / include / asm / device.h
blob071bcb4d4bfd12576f78e2c99e57d8df05bf4410
1 /*
2 * Arch specific extensions to struct device
4 * This file is released under the GPLv2
5 */
6 #ifndef __ASM_SH_DEVICE_H
7 #define __ASM_SH_DEVICE_H
9 #include <asm-generic/device.h>
11 struct platform_device;
12 /* allocate contiguous memory chunk and fill in struct resource */
13 int platform_resource_setup_memory(struct platform_device *pdev,
14 char *name, unsigned long memsize);
16 void plat_early_device_setup(void);
18 #endif /* __ASM_SH_DEVICE_H */