Skip to content

Commit 2c0b113

Browse files
committed
[ot] hw/opentitan: fix clang-format in ot_otp_eg_parts.c
Accidentally deleted this ifdef in a previous commit.
1 parent a484863 commit 2c0b113

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hw/opentitan/ot_otp_eg_parts.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
/* Generated from otp_ctrl_mmap.hjson with otptool.py */
22

3+
/* this prevents linters from checking this file without its parent file */
4+
#ifdef OT_OTP_EG_PARTS
5+
36
/* clang-format off */
47
/* NOLINTBEGIN */
58
static const OtOTPPartDesc OtOTPPartDescs[] = {
@@ -147,3 +150,5 @@ static const OtOTPPartDesc OtOTPPartDescs[] = {
147150

148151
/* NOLINTEND */
149152
/* clang-format on */
153+
154+
#endif /* OT_OTP_EG_PARTS */

0 commit comments

Comments
 (0)