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

posted on 2011-04-18 15:28  katago  阅读(518)  评论(0编辑  收藏  举报