1eca5c9272
This patch adds physically contiguous memory chunks to the UIO devices. The same strategy can be used in the future for the CEU as well. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
13 lines
329 B
C
13 lines
329 B
C
/*
|
|
* 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);
|
|
|