dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST...
Change code from using now deprecated DT_<COMPAT>_<INSTANCE>_<PROP> defines to using DT_INST_<INSTANCE>_<COMPAT>_<PROP>. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
01e54a5472
commit
a2693975d7
206 changed files with 1480 additions and 1479 deletions
|
@ -57,7 +57,7 @@ struct wdog_cmsdk_apb {
|
|||
#define CMSDK_APB_WDOG_LOCK_VALUE (0x2BDDF662)
|
||||
|
||||
#define WDOG_STRUCT \
|
||||
((volatile struct wdog_cmsdk_apb *)(DT_ARM_CMSDK_WATCHDOG_0_BASE_ADDRESS))
|
||||
((volatile struct wdog_cmsdk_apb *)(DT_INST_0_ARM_CMSDK_WATCHDOG_BASE_ADDRESS))
|
||||
|
||||
/* Keep reference of the device to pass it to the callback */
|
||||
struct device *wdog_r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue