Revisión | 77ca8f514ae1ed6c828909b72e30e7f281ba5e38 (tree) |
---|---|
Tiempo | 2020-05-27 20:40:24 |
Autor | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
fix error.
@@ -12,11 +12,8 @@ obj-$(CONFIG_OMAP_TIMER) += omap-timer.o | ||
12 | 12 | obj-$(CONFIG_AST_TIMER) += ast_timer.o |
13 | 13 | obj-$(CONFIG_STI_TIMER) += sti-timer.o |
14 | 14 | obj-$(CONFIG_ARC_TIMER) += arc_timer.o |
15 | -<<<<<<< HEAD | |
16 | -obj-$(CONFIG_RX_TIMER) += rx_timer.o | |
17 | -======= | |
18 | 15 | obj-$(CONFIG_AG101P_TIMER) += ag101p_timer.o |
19 | 16 | obj-$(CONFIG_AE3XX_TIMER) += ae3xx_timer.o |
20 | 17 | obj-$(CONFIG_ROCKCHIP_TIMER) += rockchip_timer.o |
21 | 18 | obj-$(CONFIG_ATMEL_PIT_TIMER) += atmel_pit_timer.o |
22 | ->>>>>>> v2017.11 | |
19 | +obj-$(CONFIG_RX_TIMER) += rx_timer.o |
@@ -59,8 +59,8 @@ static int rx_timer_ofdata_to_platdata(struct udevice *dev) | ||
59 | 59 | { |
60 | 60 | struct rx_timer_platdata *plat = dev_get_platdata(dev); |
61 | 61 | |
62 | - plat->regs = map_physmem(dev_get_addr(dev), 0x0700, MAP_NOCACHE); | |
63 | - plat->unit = fdtdec_get_int(gd->fdt_blob, dev->of_offset, | |
62 | + plat->regs = map_physmem(dev_read_addr(dev), 0x0700, MAP_NOCACHE); | |
63 | + plat->unit = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), | |
64 | 64 | "renesas,unit", 0); |
65 | 65 | return 0; |
66 | 66 | } |