PLATFORM_GET_RESOU(9)

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