From: Mugunthan V N Date: Thu, 24 Dec 2015 10:38:06 +0000 (+0530) Subject: dm: timer: uclass: Add flag to control sequence numbering X-Git-Tag: v2025.01-rc5-pxa1908~10643^2~65 X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=a5d801130cc9f4fc1cf2b710ac7560759b2e1c95;p=u-boot.git dm: timer: uclass: Add flag to control sequence numbering Like SPI and I2C, timer devices also have multiple chip instances. This patch adds the flag 'DM_UC_FLAG_SEQ_ALIAS' in timer_uclass driver to control device sequence numbering. Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- diff --git a/drivers/timer/timer-uclass.c b/drivers/timer/timer-uclass.c index 04801784ba..b1f4868416 100644 --- a/drivers/timer/timer-uclass.c +++ b/drivers/timer/timer-uclass.c @@ -104,5 +104,6 @@ UCLASS_DRIVER(timer) = { .id = UCLASS_TIMER, .name = "timer", .pre_probe = timer_pre_probe, + .flags = DM_UC_FLAG_SEQ_ALIAS, .per_device_auto_alloc_size = sizeof(struct timer_dev_priv), };