summaryrefslogtreecommitdiff
path: root/include/asm-sh/device.h
blob: efd511d0803ad4002fcb73f8a04af39aa51eede3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Arch specific extensions to struct device
 *
 * This file is released under the GPLv2
 */
#include <asm-generic/device.h>

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);