2006-11-11 14:18:39 +08:00
|
|
|
/*
|
|
|
|
* Arch specific extensions to struct device
|
|
|
|
*
|
|
|
|
* This file is released under the GPLv2
|
|
|
|
*/
|
2012-01-13 15:27:38 +08:00
|
|
|
#ifndef __ASM_SH_DEVICE_H
|
|
|
|
#define __ASM_SH_DEVICE_H
|
2009-07-31 15:47:17 +08:00
|
|
|
|
2012-01-13 15:27:38 +08:00
|
|
|
#include <asm-generic/device.h>
|
2006-11-11 14:18:39 +08:00
|
|
|
|
2008-07-16 18:02:54 +08:00
|
|
|
struct platform_device;
|
|
|
|
/* allocate contiguous memory chunk and fill in struct resource */
|
|
|
|
int platform_resource_setup_memory(struct platform_device *pdev,
|
|
|
|
char *name, unsigned long memsize);
|
|
|
|
|
2009-04-15 18:50:21 +08:00
|
|
|
void plat_early_device_setup(void);
|
|
|
|
|
2012-01-13 15:27:38 +08:00
|
|
|
#endif /* __ASM_SH_DEVICE_H */
|