struct platform_device nuc900_device_lcd = {
.name = "AT900-lcd",
.id = -1,
.num_resources = ARRAY_SIZE(AT_lcd_resource),
.resource = nuc900_lcd_resource,
.dev = {
.dma_mask = &AT_device_lcd_dmamask,
.coherent_dma_mask = 0xffffffffUL
}
};
.表示成员,
.dev为platform_device
struct platform_device {
const char * name;
u32 id;
struct device dev;
u32 num_resources;
struct resource * resource;
};
中device成员。
阅读(1063) | 评论(0) | 转发(0) |