Searched refs:pdevs (Results 1 – 1 of 1) sorted by relevance
380 } pdevs[4]; in rbtx4939_mtd_init() local384 struct rbtx4939_flash_data *boot_pdata = &pdevs[0].data; in rbtx4939_mtd_init()419 for (i = 0; i < ARRAY_SIZE(pdevs); i++) { in rbtx4939_mtd_init()420 struct resource *r = &pdevs[i].res; in rbtx4939_mtd_init()421 struct platform_device *dev = &pdevs[i].dev; in rbtx4939_mtd_init()426 pdevs[i].data.width = 2; in rbtx4939_mtd_init()431 dev->dev.platform_data = &pdevs[i].data; in rbtx4939_mtd_init()