platform_get_resource(9) 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

COPYRIGHT