blob: 071bcb4d4bfd12576f78e2c99e57d8df05bf4410 [file] [log] [blame]
Benjamin Herrenschmidtc6dbaef2006-11-11 17:18:39 +11001/*
2 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */
Paul Mundtbfe75c72012-01-13 16:27:38 +09006#ifndef __ASM_SH_DEVICE_H
7#define __ASM_SH_DEVICE_H
Magnus Damm9aaa7492009-07-31 07:47:17 +00008
Paul Mundtbfe75c72012-01-13 16:27:38 +09009#include <asm-generic/device.h>
Benjamin Herrenschmidtc6dbaef2006-11-11 17:18:39 +110010
Magnus Damm1eca5c92008-07-16 19:02:54 +090011struct platform_device;
12/* allocate contiguous memory chunk and fill in struct resource */
13int platform_resource_setup_memory(struct platform_device *pdev,
14 char *name, unsigned long memsize);
15
Magnus Damm87a00dc2009-04-15 10:50:21 +000016void plat_early_device_setup(void);
17
Paul Mundtbfe75c72012-01-13 16:27:38 +090018#endif /* __ASM_SH_DEVICE_H */