Commit ec20a815 authored by Paul Mundt's avatar Paul Mundt

sh: hwblk: Kill off hwblk_id from pdev archdata.

Now that nothing is using this anymore, kill off the assignments across
the board.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 4be88734
...@@ -249,9 +249,6 @@ static struct platform_device lcdc_device = { ...@@ -249,9 +249,6 @@ static struct platform_device lcdc_device = {
.dev = { .dev = {
.platform_data = &lcdc_info, .platform_data = &lcdc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_LCDC,
},
}; };
static void camera_power(int val) static void camera_power(int val)
...@@ -424,9 +421,6 @@ static struct platform_device ceu_device = { ...@@ -424,9 +421,6 @@ static struct platform_device ceu_device = {
.dev = { .dev = {
.platform_data = &sh_mobile_ceu_info, .platform_data = &sh_mobile_ceu_info,
}, },
.archdata = {
.hwblk_id = HWBLK_CEU,
},
}; };
static struct resource sdhi0_cn3_resources[] = { static struct resource sdhi0_cn3_resources[] = {
...@@ -454,9 +448,6 @@ static struct platform_device sdhi0_cn3_device = { ...@@ -454,9 +448,6 @@ static struct platform_device sdhi0_cn3_device = {
.dev = { .dev = {
.platform_data = &sdhi0_cn3_data, .platform_data = &sdhi0_cn3_data,
}, },
.archdata = {
.hwblk_id = HWBLK_SDHI0,
},
}; };
static struct resource sdhi1_cn7_resources[] = { static struct resource sdhi1_cn7_resources[] = {
...@@ -484,9 +475,6 @@ static struct platform_device sdhi1_cn7_device = { ...@@ -484,9 +475,6 @@ static struct platform_device sdhi1_cn7_device = {
.dev = { .dev = {
.platform_data = &sdhi1_cn7_data, .platform_data = &sdhi1_cn7_data,
}, },
.archdata = {
.hwblk_id = HWBLK_SDHI1,
},
}; };
static struct i2c_board_info __initdata ap325rxa_i2c_devices[] = { static struct i2c_board_info __initdata ap325rxa_i2c_devices[] = {
......
...@@ -156,9 +156,6 @@ static struct platform_device sh_eth_device = { ...@@ -156,9 +156,6 @@ static struct platform_device sh_eth_device = {
}, },
.num_resources = ARRAY_SIZE(sh_eth_resources), .num_resources = ARRAY_SIZE(sh_eth_resources),
.resource = sh_eth_resources, .resource = sh_eth_resources,
.archdata = {
.hwblk_id = HWBLK_ETHER,
},
}; };
/* USB0 host */ /* USB0 host */
...@@ -278,9 +275,6 @@ static struct platform_device usbhs_device = { ...@@ -278,9 +275,6 @@ static struct platform_device usbhs_device = {
}, },
.num_resources = ARRAY_SIZE(usbhs_resources), .num_resources = ARRAY_SIZE(usbhs_resources),
.resource = usbhs_resources, .resource = usbhs_resources,
.archdata = {
.hwblk_id = HWBLK_USB1,
},
}; };
/* LCDC */ /* LCDC */
...@@ -366,9 +360,6 @@ static struct platform_device lcdc_device = { ...@@ -366,9 +360,6 @@ static struct platform_device lcdc_device = {
.dev = { .dev = {
.platform_data = &lcdc_info, .platform_data = &lcdc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_LCDC,
},
}; };
/* CEU0 */ /* CEU0 */
...@@ -400,9 +391,6 @@ static struct platform_device ceu0_device = { ...@@ -400,9 +391,6 @@ static struct platform_device ceu0_device = {
.dev = { .dev = {
.platform_data = &sh_mobile_ceu0_info, .platform_data = &sh_mobile_ceu0_info,
}, },
.archdata = {
.hwblk_id = HWBLK_CEU0,
},
}; };
/* CEU1 */ /* CEU1 */
...@@ -434,9 +422,6 @@ static struct platform_device ceu1_device = { ...@@ -434,9 +422,6 @@ static struct platform_device ceu1_device = {
.dev = { .dev = {
.platform_data = &sh_mobile_ceu1_info, .platform_data = &sh_mobile_ceu1_info,
}, },
.archdata = {
.hwblk_id = HWBLK_CEU1,
},
}; };
/* I2C device */ /* I2C device */
...@@ -491,9 +476,6 @@ static struct platform_device keysc_device = { ...@@ -491,9 +476,6 @@ static struct platform_device keysc_device = {
.dev = { .dev = {
.platform_data = &keysc_info, .platform_data = &keysc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_KEYSC,
},
}; };
/* TouchScreen */ /* TouchScreen */
...@@ -568,9 +550,6 @@ static struct platform_device sdhi0_device = { ...@@ -568,9 +550,6 @@ static struct platform_device sdhi0_device = {
.dev = { .dev = {
.platform_data = &sdhi0_info, .platform_data = &sdhi0_info,
}, },
.archdata = {
.hwblk_id = HWBLK_SDHI0,
},
}; };
#if !defined(CONFIG_MMC_SH_MMCIF) && !defined(CONFIG_MMC_SH_MMCIF_MODULE) #if !defined(CONFIG_MMC_SH_MMCIF) && !defined(CONFIG_MMC_SH_MMCIF_MODULE)
...@@ -608,9 +587,6 @@ static struct platform_device sdhi1_device = { ...@@ -608,9 +587,6 @@ static struct platform_device sdhi1_device = {
.dev = { .dev = {
.platform_data = &sdhi1_info, .platform_data = &sdhi1_info,
}, },
.archdata = {
.hwblk_id = HWBLK_SDHI1,
},
}; };
#endif /* CONFIG_MMC_SH_MMCIF */ #endif /* CONFIG_MMC_SH_MMCIF */
...@@ -676,9 +652,6 @@ static struct platform_device msiof0_device = { ...@@ -676,9 +652,6 @@ static struct platform_device msiof0_device = {
}, },
.num_resources = ARRAY_SIZE(msiof0_resources), .num_resources = ARRAY_SIZE(msiof0_resources),
.resource = msiof0_resources, .resource = msiof0_resources,
.archdata = {
.hwblk_id = HWBLK_MSIOF0,
},
}; };
#endif #endif
...@@ -818,9 +791,6 @@ static struct platform_device fsi_device = { ...@@ -818,9 +791,6 @@ static struct platform_device fsi_device = {
.dev = { .dev = {
.platform_data = &fsi_info, .platform_data = &fsi_info,
}, },
.archdata = {
.hwblk_id = HWBLK_SPU, /* FSI needs SPU hwblk */
},
}; };
/* IrDA */ /* IrDA */
...@@ -882,9 +852,6 @@ static struct platform_device vou_device = { ...@@ -882,9 +852,6 @@ static struct platform_device vou_device = {
.dev = { .dev = {
.platform_data = &sh_vou_pdata, .platform_data = &sh_vou_pdata,
}, },
.archdata = {
.hwblk_id = HWBLK_VOU,
},
}; };
#if defined(CONFIG_MMC_SH_MMCIF) || defined(CONFIG_MMC_SH_MMCIF_MODULE) #if defined(CONFIG_MMC_SH_MMCIF) || defined(CONFIG_MMC_SH_MMCIF_MODULE)
...@@ -936,9 +903,6 @@ static struct platform_device sh_mmcif_device = { ...@@ -936,9 +903,6 @@ static struct platform_device sh_mmcif_device = {
}, },
.num_resources = ARRAY_SIZE(sh_mmcif_resources), .num_resources = ARRAY_SIZE(sh_mmcif_resources),
.resource = sh_mmcif_resources, .resource = sh_mmcif_resources,
.archdata = {
.hwblk_id = HWBLK_MMC,
},
}; };
#endif #endif
......
...@@ -122,9 +122,6 @@ static struct platform_device kfr2r09_sh_keysc_device = { ...@@ -122,9 +122,6 @@ static struct platform_device kfr2r09_sh_keysc_device = {
.dev = { .dev = {
.platform_data = &kfr2r09_sh_keysc_info, .platform_data = &kfr2r09_sh_keysc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_KEYSC,
},
}; };
static const struct fb_videomode kfr2r09_lcdc_modes[] = { static const struct fb_videomode kfr2r09_lcdc_modes[] = {
...@@ -191,9 +188,6 @@ static struct platform_device kfr2r09_sh_lcdc_device = { ...@@ -191,9 +188,6 @@ static struct platform_device kfr2r09_sh_lcdc_device = {
.dev = { .dev = {
.platform_data = &kfr2r09_sh_lcdc_info, .platform_data = &kfr2r09_sh_lcdc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_LCDC,
},
}; };
static struct r8a66597_platdata kfr2r09_usb0_gadget_data = { static struct r8a66597_platdata kfr2r09_usb0_gadget_data = {
...@@ -254,9 +248,6 @@ static struct platform_device kfr2r09_ceu_device = { ...@@ -254,9 +248,6 @@ static struct platform_device kfr2r09_ceu_device = {
.dev = { .dev = {
.platform_data = &sh_mobile_ceu_info, .platform_data = &sh_mobile_ceu_info,
}, },
.archdata = {
.hwblk_id = HWBLK_CEU0,
},
}; };
static struct i2c_board_info kfr2r09_i2c_camera = { static struct i2c_board_info kfr2r09_i2c_camera = {
...@@ -377,9 +368,6 @@ static struct platform_device kfr2r09_sh_sdhi0_device = { ...@@ -377,9 +368,6 @@ static struct platform_device kfr2r09_sh_sdhi0_device = {
.dev = { .dev = {
.platform_data = &sh7724_sdhi0_data, .platform_data = &sh7724_sdhi0_data,
}, },
.archdata = {
.hwblk_id = HWBLK_SDHI0,
},
}; };
static struct platform_device *kfr2r09_devices[] __initdata = { static struct platform_device *kfr2r09_devices[] __initdata = {
......
...@@ -99,9 +99,6 @@ static struct platform_device sh_keysc_device = { ...@@ -99,9 +99,6 @@ static struct platform_device sh_keysc_device = {
.dev = { .dev = {
.platform_data = &sh_keysc_info, .platform_data = &sh_keysc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_KEYSC,
},
}; };
static struct mtd_partition migor_nor_flash_partitions[] = static struct mtd_partition migor_nor_flash_partitions[] =
...@@ -300,9 +297,6 @@ static struct platform_device migor_lcdc_device = { ...@@ -300,9 +297,6 @@ static struct platform_device migor_lcdc_device = {
.dev = { .dev = {
.platform_data = &sh_mobile_lcdc_info, .platform_data = &sh_mobile_lcdc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_LCDC,
},
}; };
static struct clk *camera_clk; static struct clk *camera_clk;
...@@ -390,9 +384,6 @@ static struct platform_device migor_ceu_device = { ...@@ -390,9 +384,6 @@ static struct platform_device migor_ceu_device = {
.dev = { .dev = {
.platform_data = &sh_mobile_ceu_info, .platform_data = &sh_mobile_ceu_info,
}, },
.archdata = {
.hwblk_id = HWBLK_CEU,
},
}; };
static struct resource sdhi_cn9_resources[] = { static struct resource sdhi_cn9_resources[] = {
...@@ -421,9 +412,6 @@ static struct platform_device sdhi_cn9_device = { ...@@ -421,9 +412,6 @@ static struct platform_device sdhi_cn9_device = {
.dev = { .dev = {
.platform_data = &sh7724_sdhi_data, .platform_data = &sh7724_sdhi_data,
}, },
.archdata = {
.hwblk_id = HWBLK_SDHI,
},
}; };
static struct i2c_board_info migor_i2c_devices[] = { static struct i2c_board_info migor_i2c_devices[] = {
......
...@@ -127,9 +127,6 @@ static struct platform_device sh_keysc_device = { ...@@ -127,9 +127,6 @@ static struct platform_device sh_keysc_device = {
.dev = { .dev = {
.platform_data = &sh_keysc_info, .platform_data = &sh_keysc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_KEYSC,
},
}; };
static struct platform_device *se7722_devices[] __initdata = { static struct platform_device *se7722_devices[] __initdata = {
......
...@@ -210,9 +210,6 @@ static struct platform_device lcdc_device = { ...@@ -210,9 +210,6 @@ static struct platform_device lcdc_device = {
.dev = { .dev = {
.platform_data = &lcdc_info, .platform_data = &lcdc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_LCDC,
},
}; };
/* CEU0 */ /* CEU0 */
...@@ -244,9 +241,6 @@ static struct platform_device ceu0_device = { ...@@ -244,9 +241,6 @@ static struct platform_device ceu0_device = {
.dev = { .dev = {
.platform_data = &sh_mobile_ceu0_info, .platform_data = &sh_mobile_ceu0_info,
}, },
.archdata = {
.hwblk_id = HWBLK_CEU0,
},
}; };
/* CEU1 */ /* CEU1 */
...@@ -278,9 +272,6 @@ static struct platform_device ceu1_device = { ...@@ -278,9 +272,6 @@ static struct platform_device ceu1_device = {
.dev = { .dev = {
.platform_data = &sh_mobile_ceu1_info, .platform_data = &sh_mobile_ceu1_info,
}, },
.archdata = {
.hwblk_id = HWBLK_CEU1,
},
}; };
/* FSI */ /* FSI */
...@@ -310,9 +301,6 @@ static struct platform_device fsi_device = { ...@@ -310,9 +301,6 @@ static struct platform_device fsi_device = {
.dev = { .dev = {
.platform_data = &fsi_info, .platform_data = &fsi_info,
}, },
.archdata = {
.hwblk_id = HWBLK_SPU, /* FSI needs SPU hwblk */
},
}; };
static struct platform_device fsi_ak4642_device = { static struct platform_device fsi_ak4642_device = {
...@@ -355,9 +343,6 @@ static struct platform_device keysc_device = { ...@@ -355,9 +343,6 @@ static struct platform_device keysc_device = {
.dev = { .dev = {
.platform_data = &keysc_info, .platform_data = &keysc_info,
}, },
.archdata = {
.hwblk_id = HWBLK_KEYSC,
},
}; };
/* SH Eth */ /* SH Eth */
...@@ -386,9 +371,6 @@ static struct platform_device sh_eth_device = { ...@@ -386,9 +371,6 @@ static struct platform_device sh_eth_device = {
}, },
.num_resources = ARRAY_SIZE(sh_eth_resources), .num_resources = ARRAY_SIZE(sh_eth_resources),
.resource = sh_eth_resources, .resource = sh_eth_resources,
.archdata = {
.hwblk_id = HWBLK_ETHER,
},
}; };
static struct r8a66597_platdata sh7724_usb0_host_data = { static struct r8a66597_platdata sh7724_usb0_host_data = {
...@@ -418,9 +400,6 @@ static struct platform_device sh7724_usb0_host_device = { ...@@ -418,9 +400,6 @@ static struct platform_device sh7724_usb0_host_device = {
}, },
.num_resources = ARRAY_SIZE(sh7724_usb0_host_resources), .num_resources = ARRAY_SIZE(sh7724_usb0_host_resources),
.resource = sh7724_usb0_host_resources, .resource = sh7724_usb0_host_resources,
.archdata = {
.hwblk_id = HWBLK_USB0,
},
}; };
static struct r8a66597_platdata sh7724_usb1_gadget_data = { static struct r8a66597_platdata sh7724_usb1_gadget_data = {
...@@ -479,9 +458,6 @@ static struct platform_device sdhi0_cn7_device = { ...@@ -479,9 +458,6 @@ static struct platform_device sdhi0_cn7_device = {
.dev = { .dev = {
.platform_data = &sh7724_sdhi0_data, .platform_data = &sh7724_sdhi0_data,
}, },
.archdata = {
.hwblk_id = HWBLK_SDHI0,
},
}; };
static struct resource sdhi1_cn8_resources[] = { static struct resource sdhi1_cn8_resources[] = {
...@@ -511,9 +487,6 @@ static struct platform_device sdhi1_cn8_device = { ...@@ -511,9 +487,6 @@ static struct platform_device sdhi1_cn8_device = {
.dev = { .dev = {
.platform_data = &sh7724_sdhi1_data, .platform_data = &sh7724_sdhi1_data,
}, },
.archdata = {
.hwblk_id = HWBLK_SDHI1,
},
}; };
/* IrDA */ /* IrDA */
...@@ -576,9 +549,6 @@ static struct platform_device vou_device = { ...@@ -576,9 +549,6 @@ static struct platform_device vou_device = {
.dev = { .dev = {
.platform_data = &sh_vou_pdata, .platform_data = &sh_vou_pdata,
}, },
.archdata = {
.hwblk_id = HWBLK_VOU,
},
}; };
static struct platform_device *ms7724se_devices[] __initdata = { static struct platform_device *ms7724se_devices[] __initdata = {
......
...@@ -15,5 +15,4 @@ int platform_resource_setup_memory(struct platform_device *pdev, ...@@ -15,5 +15,4 @@ int platform_resource_setup_memory(struct platform_device *pdev,
void plat_early_device_setup(void); void plat_early_device_setup(void);
struct pdev_archdata { struct pdev_archdata {
int hwblk_id;
}; };
...@@ -173,9 +173,6 @@ struct platform_device dma_device = { ...@@ -173,9 +173,6 @@ struct platform_device dma_device = {
.dev = { .dev = {
.platform_data = &dma_platform_data, .platform_data = &dma_platform_data,
}, },
.archdata = {
.hwblk_id = HWBLK_DMAC,
},
}; };
/* Serial */ /* Serial */
...@@ -264,9 +261,6 @@ static struct platform_device rtc_device = { ...@@ -264,9 +261,6 @@ static struct platform_device rtc_device = {
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(rtc_resources), .num_resources = ARRAY_SIZE(rtc_resources),
.resource = rtc_resources, .resource = rtc_resources,
.archdata = {
.hwblk_id = HWBLK_RTC,
},
}; };
static struct m66592_platdata usbf_platdata = { static struct m66592_platdata usbf_platdata = {
...@@ -297,9 +291,6 @@ static struct platform_device usbf_device = { ...@@ -297,9 +291,6 @@ static struct platform_device usbf_device = {
}, },
.num_resources = ARRAY_SIZE(usbf_resources), .num_resources = ARRAY_SIZE(usbf_resources),
.resource = usbf_resources, .resource = usbf_resources,
.archdata = {
.hwblk_id = HWBLK_USBF,
},
}; };
static struct resource iic_resources[] = { static struct resource iic_resources[] = {
...@@ -321,9 +312,6 @@ static struct platform_device iic_device = { ...@@ -321,9 +312,6 @@ static struct platform_device iic_device = {
.id = 0, /* "i2c0" clock */ .id = 0, /* "i2c0" clock */
.num_resources = ARRAY_SIZE(iic_resources), .num_resources = ARRAY_SIZE(iic_resources),
.resource = iic_resources, .resource = iic_resources,
.archdata = {
.hwblk_id = HWBLK_IIC,
},
}; };
static struct uio_info vpu_platform_data = { static struct uio_info vpu_platform_data = {
...@@ -352,9 +340,6 @@ static struct platform_device vpu_device = { ...@@ -352,9 +340,6 @@ static struct platform_device vpu_device = {
}, },
.resource = vpu_resources, .resource = vpu_resources,
.num_resources = ARRAY_SIZE(vpu_resources), .num_resources = ARRAY_SIZE(vpu_resources),
.archdata = {
.hwblk_id = HWBLK_VPU,
},
}; };
static struct uio_info veu_platform_data = { static struct uio_info veu_platform_data = {
...@@ -383,9 +368,6 @@ static struct platform_device veu_device = { ...@@ -383,9 +368,6 @@ static struct platform_device veu_device = {
}, },
.resource = veu_resources, .resource = veu_resources,
.num_resources = ARRAY_SIZE(veu_resources), .num_resources = ARRAY_SIZE(veu_resources),
.archdata = {
.hwblk_id = HWBLK_VEU,
},
}; };
static struct uio_info jpu_platform_data = { static struct uio_info jpu_platform_data = {
...@@ -414,9 +396,6 @@ static struct platform_device jpu_device = { ...@@ -414,9 +396,6 @@ static struct platform_device jpu_device = {
}, },
.resource = jpu_resources, .resource = jpu_resources,
.num_resources = ARRAY_SIZE(jpu_resources), .num_resources = ARRAY_SIZE(jpu_resources),
.archdata = {
.hwblk_id = HWBLK_JPU,
},
}; };
static struct sh_timer_config cmt_platform_data = { static struct sh_timer_config cmt_platform_data = {
...@@ -446,9 +425,6 @@ static struct platform_device cmt_device = { ...@@ -446,9 +425,6 @@ static struct platform_device cmt_device = {
}, },
.resource = cmt_resources, .resource = cmt_resources,
.num_resources = ARRAY_SIZE(cmt_resources), .num_resources = ARRAY_SIZE(cmt_resources),
.archdata = {
.hwblk_id = HWBLK_CMT,
},
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
...@@ -477,9 +453,6 @@ static struct platform_device tmu0_device = { ...@@ -477,9 +453,6 @@ static struct platform_device tmu0_device = {
}, },
.resource = tmu0_resources, .resource = tmu0_resources,
.num_resources = ARRAY_SIZE(tmu0_resources), .num_resources = ARRAY_SIZE(tmu0_resources),
.archdata = {
.hwblk_id = HWBLK_TMU,
},
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
...@@ -508,9 +481,6 @@ static struct platform_device tmu1_device = { ...@@ -508,9 +481,6 @@ static struct platform_device tmu1_device = {
}, },
.resource = tmu1_resources, .resource = tmu1_resources,
.num_resources = ARRAY_SIZE(tmu1_resources), .num_resources = ARRAY_SIZE(tmu1_resources),
.archdata = {
.hwblk_id = HWBLK_TMU,
},
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
...@@ -538,9 +508,6 @@ static struct platform_device tmu2_device = { ...@@ -538,9 +508,6 @@ static struct platform_device tmu2_device = {
}, },
.resource = tmu2_resources, .resource = tmu2_resources,
.num_resources = ARRAY_SIZE(tmu2_resources), .num_resources = ARRAY_SIZE(tmu2_resources),
.archdata = {
.hwblk_id = HWBLK_TMU,
},
}; };
static struct siu_platform siu_platform_data = { static struct siu_platform siu_platform_data = {
...@@ -571,9 +538,6 @@ static struct platform_device siu_device = { ...@@ -571,9 +538,6 @@ static struct platform_device siu_device = {
}, },
.resource = siu_resources, .resource = siu_resources,
.num_resources = ARRAY_SIZE(siu_resources), .num_resources = ARRAY_SIZE(siu_resources),
.archdata = {
.hwblk_id = HWBLK_SIU,
},
}; };
static struct platform_device *sh7722_devices[] __initdata = { static struct platform_device *sh7722_devices[] __initdata = {
......
...@@ -158,9 +158,6 @@ static struct platform_device vpu_device = { ...@@ -158,9 +158,6 @@ static struct platform_device vpu_device = {
}, },
.resource = vpu_resources, .resource = vpu_resources,
.num_resources = ARRAY_SIZE(vpu_resources), .num_resources = ARRAY_SIZE(vpu_resources),
.archdata = {
.hwblk_id = HWBLK_VPU,
},
}; };
static struct uio_info veu0_platform_data = { static struct uio_info veu0_platform_data = {
...@@ -189,9 +186,6 @@ static struct platform_device veu0_device = { ...@@ -189,9 +186,6 @@ static struct platform_device veu0_device = {
}, },
.resource = veu0_resources, .resource = veu0_resources,
.num_resources = ARRAY_SIZE(veu0_resources), .num_resources = ARRAY_SIZE(veu0_resources),
.archdata = {
.hwblk_id = HWBLK_VEU2H0,
},
}; };
static struct uio_info veu1_platform_data = { static struct uio_info veu1_platform_data = {
...@@ -220,9 +214,6 @@ static struct platform_device veu1_device = { ...@@ -220,9 +214,6 @@ static struct platform_device veu1_device = {
}, },
.resource = veu1_resources, .resource = veu1_resources,
.num_resources = ARRAY_SIZE(veu1_resources), .num_resources = ARRAY_SIZE(veu1_resources),
.archdata = {
.hwblk_id = HWBLK_VEU2H1,
},
}; };
static struct sh_timer_config cmt_platform_data = { static struct sh_timer_config cmt_platform_data = {
...@@ -252,9 +243,6 @@ static struct platform_device cmt_device = { ...@@ -252,9 +243,6 @@ static struct platform_device cmt_device = {
}, },
.resource = cmt_resources, .resource = cmt_resources,
.num_resources = ARRAY_SIZE(cmt_resources), .num_resources = ARRAY_SIZE(cmt_resources),
.archdata = {
.hwblk_id = HWBLK_CMT,
},
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
...@@ -283,9 +271,6 @@ static struct platform_device tmu0_device = { ...@@ -283,9 +271,6 @@ static struct platform_device tmu0_device = {
}, },
.resource = tmu0_resources, .resource = tmu0_resources,
.num_resources = ARRAY_SIZE(tmu0_resources), .num_resources = ARRAY_SIZE(tmu0_resources),
.archdata = {
.hwblk_id = HWBLK_TMU0,
},
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
...@@ -314,9 +299,6 @@ static struct platform_device tmu1_device = { ...@@ -314,9 +299,6 @@ static struct platform_device tmu1_device = {
}, },
.resource = tmu1_resources, .resource = tmu1_resources,
.num_resources = ARRAY_SIZE(tmu1_resources), .num_resources = ARRAY_SIZE(tmu1_resources),
.archdata = {
.hwblk_id = HWBLK_TMU0,
},
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
...@@ -344,9 +326,6 @@ static struct platform_device tmu2_device = { ...@@ -344,9 +326,6 @@ static struct platform_device tmu2_device = {
}, },
.resource = tmu2_resources, .resource = tmu2_resources,
.num_resources = ARRAY_SIZE(tmu2_resources), .num_resources = ARRAY_SIZE(tmu2_resources),
.archdata = {
.hwblk_id = HWBLK_TMU0,
},
}; };
static struct sh_timer_config tmu3_platform_data = { static struct sh_timer_config tmu3_platform_data = {
...@@ -374,9 +353,6 @@ static struct platform_device tmu3_device = { ...@@ -374,9 +353,6 @@ static struct platform_device tmu3_device = {
}, },
.resource = tmu3_resources, .resource = tmu3_resources,
.num_resources = ARRAY_SIZE(tmu3_resources), .num_resources = ARRAY_SIZE(tmu3_resources),
.archdata = {
.hwblk_id = HWBLK_TMU1,
},
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
...@@ -404,9 +380,6 @@ static struct platform_device tmu4_device = { ...@@ -404,9 +380,6 @@ static struct platform_device tmu4_device = {
}, },
.resource = tmu4_resources, .resource = tmu4_resources,
.num_resources = ARRAY_SIZE(tmu4_resources), .num_resources = ARRAY_SIZE(tmu4_resources),
.archdata = {
.hwblk_id = HWBLK_TMU1,
},
}; };
static struct sh_timer_config tmu5_platform_data = { static struct sh_timer_config tmu5_platform_data = {
...@@ -434,9 +407,6 @@ static struct platform_device tmu5_device = { ...@@ -434,9 +407,6 @@ static struct platform_device tmu5_device = {
}, },
.resource = tmu5_resources, .resource = tmu5_resources,
.num_resources = ARRAY_SIZE(tmu5_resources), .num_resources = ARRAY_SIZE(tmu5_resources),
.archdata = {
.hwblk_id = HWBLK_TMU1,
},
}; };
static struct resource rtc_resources[] = { static struct resource rtc_resources[] = {
...@@ -467,9 +437,6 @@ static struct platform_device rtc_device = { ...@@ -467,9 +437,6 @@ static struct platform_device rtc_device = {
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(rtc_resources), .num_resources = ARRAY_SIZE(rtc_resources),
.resource = rtc_resources, .resource = rtc_resources,
.archdata = {
.hwblk_id = HWBLK_RTC,
},
}; };
static struct r8a66597_platdata r8a66597_data = { static struct r8a66597_platdata r8a66597_data = {
...@@ -499,9 +466,6 @@ static struct platform_device sh7723_usb_host_device = { ...@@ -499,9 +466,6 @@ static struct platform_device sh7723_usb_host_device = {
}, },
.num_resources = ARRAY_SIZE(sh7723_usb_host_resources), .num_resources = ARRAY_SIZE(sh7723_usb_host_resources),
.resource = sh7723_usb_host_resources, .resource = sh7723_usb_host_resources,
.archdata = {
.hwblk_id = HWBLK_USB,
},
}; };
static struct resource iic_resources[] = { static struct resource iic_resources[] = {
...@@ -523,9 +487,6 @@ static struct platform_device iic_device = { ...@@ -523,9 +487,6 @@ static struct platform_device iic_device = {
.id = 0, /* "i2c0" clock */ .id = 0, /* "i2c0" clock */
.num_resources = ARRAY_SIZE(iic_resources), .num_resources = ARRAY_SIZE(iic_resources),
.resource = iic_resources, .resource = iic_resources,
.archdata = {
.hwblk_id = HWBLK_IIC,
},
}; };
static struct platform_device *sh7723_devices[] __initdata = { static struct platform_device *sh7723_devices[] __initdata = {
......
...@@ -275,9 +275,6 @@ static struct platform_device dma0_device = { ...@@ -275,9 +275,6 @@ static struct platform_device dma0_device = {
.dev = { .dev = {
.platform_data = &dma_platform_data, .platform_data = &dma_platform_data,
}, },
.archdata = {
.hwblk_id = HWBLK_DMAC0,
},
}; };
static struct platform_device dma1_device = { static struct platform_device dma1_device = {
...@@ -288,9 +285,6 @@ static struct platform_device dma1_device = { ...@@ -288,9 +285,6 @@ static struct platform_device dma1_device = {
.dev = { .dev = {
.platform_data = &dma_platform_data, .platform_data = &dma_platform_data,
}, },
.archdata = {
.hwblk_id = HWBLK_DMAC1,
},
}; };
/* Serial */ /* Serial */
...@@ -434,9 +428,6 @@ static struct platform_device rtc_device = { ...@@ -434,9 +428,6 @@ static struct platform_device rtc_device = {
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(rtc_resources), .num_resources = ARRAY_SIZE(rtc_resources),
.resource = rtc_resources, .resource = rtc_resources,
.archdata = {
.hwblk_id = HWBLK_RTC,
},
}; };
/* I2C0 */ /* I2C0 */
...@@ -459,9 +450,6 @@ static struct platform_device iic0_device = { ...@@ -459,9 +450,6 @@ static struct platform_device iic0_device = {
.id = 0, /* "i2c0" clock */ .id = 0, /* "i2c0" clock */
.num_resources = ARRAY_SIZE(iic0_resources), .num_resources = ARRAY_SIZE(iic0_resources),
.resource = iic0_resources, .resource = iic0_resources,
.archdata = {
.hwblk_id = HWBLK_IIC0,
},
}; };
/* I2C1 */ /* I2C1 */
...@@ -484,9 +472,6 @@ static struct platform_device iic1_device = { ...@@ -484,9 +472,6 @@ static struct platform_device iic1_device = {
.id = 1, /* "i2c1" clock */ .id = 1, /* "i2c1" clock */
.num_resources = ARRAY_SIZE(iic1_resources), .num_resources = ARRAY_SIZE(iic1_resources),
.resource = iic1_resources, .resource = iic1_resources,
.archdata = {
.hwblk_id = HWBLK_IIC1,
},
}; };
/* VPU */ /* VPU */
...@@ -516,9 +501,6 @@ static struct platform_device vpu_device = { ...@@ -516,9 +501,6 @@ static struct platform_device vpu_device = {
}, },
.resource = vpu_resources, .resource = vpu_resources,
.num_resources = ARRAY_SIZE(vpu_resources), .num_resources = ARRAY_SIZE(vpu_resources),
.archdata = {
.hwblk_id = HWBLK_VPU,
},
}; };
/* VEU0 */ /* VEU0 */
...@@ -548,9 +530,6 @@ static struct platform_device veu0_device = { ...@@ -548,9 +530,6 @@ static struct platform_device veu0_device = {
}, },
.resource = veu0_resources, .resource = veu0_resources,
.num_resources = ARRAY_SIZE(veu0_resources), .num_resources = ARRAY_SIZE(veu0_resources),
.archdata = {
.hwblk_id = HWBLK_VEU0,
},
}; };
/* VEU1 */ /* VEU1 */
...@@ -580,9 +559,6 @@ static struct platform_device veu1_device = { ...@@ -580,9 +559,6 @@ static struct platform_device veu1_device = {
}, },
.resource = veu1_resources, .resource = veu1_resources,
.num_resources = ARRAY_SIZE(veu1_resources), .num_resources = ARRAY_SIZE(veu1_resources),
.archdata = {
.hwblk_id = HWBLK_VEU1,
},
}; };
/* BEU0 */ /* BEU0 */
...@@ -612,9 +588,6 @@ static struct platform_device beu0_device = { ...@@ -612,9 +588,6 @@ static struct platform_device beu0_device = {
}, },
.resource = beu0_resources, .resource = beu0_resources,
.num_resources = ARRAY_SIZE(beu0_resources), .num_resources = ARRAY_SIZE(beu0_resources),
.archdata = {
.hwblk_id = HWBLK_BEU0,
},
}; };
/* BEU1 */ /* BEU1 */
...@@ -644,9 +617,6 @@ static struct platform_device beu1_device = { ...@@ -644,9 +617,6 @@ static struct platform_device beu1_device = {
}, },
.resource = beu1_resources, .resource = beu1_resources,
.num_resources = ARRAY_SIZE(beu1_resources), .num_resources = ARRAY_SIZE(beu1_resources),
.archdata = {
.hwblk_id = HWBLK_BEU1,
},
}; };
static struct sh_timer_config cmt_platform_data = { static struct sh_timer_config cmt_platform_data = {
...@@ -676,9 +646,6 @@ static struct platform_device cmt_device = { ...@@ -676,9 +646,6 @@ static struct platform_device cmt_device = {
}, },
.resource = cmt_resources, .resource = cmt_resources,
.num_resources = ARRAY_SIZE(cmt_resources), .num_resources = ARRAY_SIZE(cmt_resources),
.archdata = {
.hwblk_id = HWBLK_CMT,
},
}; };
static struct sh_timer_config tmu0_platform_data = { static struct sh_timer_config tmu0_platform_data = {
...@@ -707,9 +674,6 @@ static struct platform_device tmu0_device = { ...@@ -707,9 +674,6 @@ static struct platform_device tmu0_device = {
}, },
.resource = tmu0_resources, .resource = tmu0_resources,
.num_resources = ARRAY_SIZE(tmu0_resources), .num_resources = ARRAY_SIZE(tmu0_resources),
.archdata = {
.hwblk_id = HWBLK_TMU0,
},
}; };
static struct sh_timer_config tmu1_platform_data = { static struct sh_timer_config tmu1_platform_data = {
...@@ -738,9 +702,6 @@ static struct platform_device tmu1_device = { ...@@ -738,9 +702,6 @@ static struct platform_device tmu1_device = {
}, },
.resource = tmu1_resources, .resource = tmu1_resources,
.num_resources = ARRAY_SIZE(tmu1_resources), .num_resources = ARRAY_SIZE(tmu1_resources),
.archdata = {
.hwblk_id = HWBLK_TMU0,
},
}; };
static struct sh_timer_config tmu2_platform_data = { static struct sh_timer_config tmu2_platform_data = {
...@@ -768,9 +729,6 @@ static struct platform_device tmu2_device = { ...@@ -768,9 +729,6 @@ static struct platform_device tmu2_device = {
}, },
.resource = tmu2_resources, .resource = tmu2_resources,
.num_resources = ARRAY_SIZE(tmu2_resources), .num_resources = ARRAY_SIZE(tmu2_resources),
.archdata = {
.hwblk_id = HWBLK_TMU0,
},
}; };
...@@ -799,9 +757,6 @@ static struct platform_device tmu3_device = { ...@@ -799,9 +757,6 @@ static struct platform_device tmu3_device = {
}, },
.resource = tmu3_resources, .resource = tmu3_resources,
.num_resources = ARRAY_SIZE(tmu3_resources), .num_resources = ARRAY_SIZE(tmu3_resources),
.archdata = {
.hwblk_id = HWBLK_TMU1,
},
}; };
static struct sh_timer_config tmu4_platform_data = { static struct sh_timer_config tmu4_platform_data = {
...@@ -829,9 +784,6 @@ static struct platform_device tmu4_device = { ...@@ -829,9 +784,6 @@ static struct platform_device tmu4_device = {
}, },
.resource = tmu4_resources, .resource = tmu4_resources,
.num_resources = ARRAY_SIZE(tmu4_resources), .num_resources = ARRAY_SIZE(tmu4_resources),
.archdata = {
.hwblk_id = HWBLK_TMU1,
},
}; };
static struct sh_timer_config tmu5_platform_data = { static struct sh_timer_config tmu5_platform_data = {
...@@ -859,9 +811,6 @@ static struct platform_device tmu5_device = { ...@@ -859,9 +811,6 @@ static struct platform_device tmu5_device = {
}, },
.resource = tmu5_resources, .resource = tmu5_resources,
.num_resources = ARRAY_SIZE(tmu5_resources), .num_resources = ARRAY_SIZE(tmu5_resources),
.archdata = {
.hwblk_id = HWBLK_TMU1,
},
}; };
/* JPU */ /* JPU */
...@@ -891,9 +840,6 @@ static struct platform_device jpu_device = { ...@@ -891,9 +840,6 @@ static struct platform_device jpu_device = {
}, },
.resource = jpu_resources, .resource = jpu_resources,
.num_resources = ARRAY_SIZE(jpu_resources), .num_resources = ARRAY_SIZE(jpu_resources),
.archdata = {
.hwblk_id = HWBLK_JPU,
},
}; };
/* SPU2DSP0 */ /* SPU2DSP0 */
...@@ -923,9 +869,6 @@ static struct platform_device spu0_device = { ...@@ -923,9 +869,6 @@ static struct platform_device spu0_device = {
}, },
.resource = spu0_resources, .resource = spu0_resources,
.num_resources = ARRAY_SIZE(spu0_resources), .num_resources = ARRAY_SIZE(spu0_resources),
.archdata = {
.hwblk_id = HWBLK_SPU,
},
}; };
/* SPU2DSP1 */ /* SPU2DSP1 */
...@@ -955,9 +898,6 @@ static struct platform_device spu1_device = { ...@@ -955,9 +898,6 @@ static struct platform_device spu1_device = {
}, },
.resource = spu1_resources, .resource = spu1_resources,
.num_resources = ARRAY_SIZE(spu1_resources), .num_resources = ARRAY_SIZE(spu1_resources),
.archdata = {
.hwblk_id = HWBLK_SPU,
},
}; };
static struct platform_device *sh7724_devices[] __initdata = { static struct platform_device *sh7724_devices[] __initdata = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment