summaryrefslogtreecommitdiff
path: root/configs/at91sam9m10g45ek_nandflash_defconfig
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-07-11 08:24:43 +0200
committerMichal Simek <michal.simek@xilinx.com>2018-07-19 10:49:54 +0200
commit9713fac1eb104e87f8e2fe578c29c96bddef304c (patch)
treeda44883f36006d19ace6a8cdb280e3a67e5e26f3 /configs/at91sam9m10g45ek_nandflash_defconfig
parent3c3dee373a1a03b4f2390978bfaef260fc8f5622 (diff)
watchdog: dm: Change uclass name to watchdog and enable DM_UC_FLAG_SEQ_ALIAS
uclass name is used by dev_read_alias_seq which return seq number when aliases are used. Code fragment: 168 int dev_read_alias_seq(struct udevice *dev, int *devnump) 169 { 170 ofnode node = dev_ofnode(dev); 171 const char *uc_name = dev->uclass->uc_drv->name; 172 int ret; 173 174 if (ofnode_is_np(node)) { 175 ret = of_alias_get_id(ofnode_to_np(node), uc_name); Also this patch enables DM_UC_FLAG_SEQ_ALIAS to be in sync with Linux which is also using watchdog name for watchdog aliases. drivers/watchdog/watchdog_core.c:215: ret = of_alias_get_id(wdd->parent->of_node, "watchdog"); Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/at91sam9m10g45ek_nandflash_defconfig')
0 files changed, 0 insertions, 0 deletions