projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c833697
)
dm: timer: uclass: Add flag to control sequence numbering
author
Mugunthan V N
<
[email protected]
>
Thu, 24 Dec 2015 10:38:06 +0000
(16:08 +0530)
committer
Simon Glass
<
[email protected]
>
Thu, 21 Jan 2016 02:06:21 +0000
(19:06 -0700)
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 <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
Reviewed-by: Tom Rini <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
drivers/timer/timer-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/timer/timer-uclass.c
b/drivers/timer/timer-uclass.c
index 04801784ba854d24c2be8823e5950f5809804495..b1f4868416fbcff52fddb9f85bfbb1a83903f7e9 100644
(file)
--- 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),
};