static int imx23_ccm_probe(struct device_d *dev) { void __iomem *regs; regs = dev_request_mem_region(dev, 0); if (IS_ERR(regs)) return PTR_ERR(regs); mx23_clocks_init(regs); return 0; }
static int imx23_ccm_probe(struct device_d *dev) { struct resource *iores; void __iomem *regs; iores = dev_request_mem_resource(dev, 0); if (IS_ERR(iores)) return PTR_ERR(iores); regs = IOMEM(iores->start); mx23_clocks_init(regs); return 0; }
static void __init mx23evk_timer_init(void) { mx23_clocks_init(); }
static void __init stmp378x_dvb_timer_init(void) { mx23_clocks_init(); }