blob: 8688a88303ee79f3b422ca81f76d34287aa1a791 [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 */
6#include <asm-generic/device.h>
7
Magnus Damm1eca5c92008-07-16 19:02:54 +09008struct platform_device;
9/* allocate contiguous memory chunk and fill in struct resource */
10int platform_resource_setup_memory(struct platform_device *pdev,
11 char *name, unsigned long memsize);
12
Magnus Damm87a00dc2009-04-15 10:50:21 +000013void plat_early_device_setup(void);
14