The Linux Kernel API

http://www.gnugeneration.com/books/linux/2.6.20/kernel-api/index.html

Name

platform_get_resource — get a resource for a device

Synopsis

struct resource * platform_get_resource (
struct platform_device *  
dev,

unsigned int  
type,

unsigned int  
num);

Arguments

dev

platform device

type

resource type

num

resource index

你可能感兴趣的:(kernel)