struct platform_device { char *name; u32 id; struct device dev; u32 num_resources; struct resource *resource; };