Use designated initialization in DECLARE_RT_SVC macro
authorSoby Mathew <soby.mathew@arm.com>
Tue, 12 Jan 2016 10:28:42 +0000 (10:28 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Wed, 13 Jan 2016 09:39:11 +0000 (09:39 +0000)
commit7b3aabc0cfed0615b03887edfda12ce46a3a8335
tree7be9d20bdc21b000f5b5b225a17aaae2a7fdcf0f
parent5773b5322d0b4067186d64af53a53409e3bf3e31
Use designated initialization in DECLARE_RT_SVC macro

This patch changes the anonymous initialization of `rt_svc_desc_t` structure
by the `DECLARE_RT_SVC` macro to designated initialization. This makes the
code more robust and less sensitive to potential changes to the
`rt_svc_desc_t` structure.

Change-Id: If6f1586730c0d29d92ef09e07eff7dd0d22857c7
include/bl31/runtime_svc.h