2018-12-28 11:31:53 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0
|
2006-11-11 09:18:39 +03:00
|
|
|
*
|
2018-12-28 11:31:53 +03:00
|
|
|
* Arch specific extensions to struct device
|
2006-11-11 09:18:39 +03:00
|
|
|
*/
|
2012-01-13 11:27:38 +04:00
|
|
|
#ifndef __ASM_SH_DEVICE_H
|
|
|
|
#define __ASM_SH_DEVICE_H
|
2009-07-31 11:47:17 +04:00
|
|
|
|
2012-01-13 11:27:38 +04:00
|
|
|
#include <asm-generic/device.h>
|
2006-11-11 09:18:39 +03:00
|
|
|
|
2008-07-16 14:02:54 +04: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 14:50:21 +04:00
|
|
|
void plat_early_device_setup(void);
|
|
|
|
|
2012-01-13 11:27:38 +04:00
|
|
|
#endif /* __ASM_SH_DEVICE_H */
|