Commit 555bdb1c authored by Xiang W's avatar Xiang W Committed by Anup Patel
Browse files

include: Use static asserts for SBI_PLATFORM_xxx_OFFSET defines



Add static detection to prevent the modification of struct sbi_platform
from forgetting the modification of SBI_PLATFORM_xxx_OFFSET

Signed-off-by: default avatarXiang W <wxjstz@126.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent d552fc8d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment