include: soc: tegra: fix divergence to firmware-api

Fix minor differences to firmware-api that can cause conflicts
when propagating changes to kernel headers.

Jira CAMERASW-15815

Change-Id: I23239a246cdae69a8818a6ed0e2e8d23ee337f10
Signed-off-by: Mika Liljeberg <mliljeberg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2988968
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2994200
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Matti Ryttylainen <mryttylainen@nvidia.com>
Reviewed-by: Viktor Horsmanheimo <viktorh@nvidia.com>
This commit is contained in:
Mika Liljeberg
2023-09-29 11:04:46 +03:00
committed by mobile promotions
parent f7c66766b7
commit 4e0255fbae
3 changed files with 16 additions and 15 deletions

View File

@@ -27,16 +27,16 @@
#define CAMRTC_ALIGN(_n) __attribute__((aligned(_n)))
#endif
#ifndef U64_C
#define U64_C(_x_) ((uint64_t)(_x_##ULL))
#define U64_C(_x_) (uint64_t)(_x_##ULL)
#endif
#ifndef U32_C
#define U32_C(_x_) ((uint32_t)(_x_##UL))
#define U32_C(_x_) (uint32_t)(_x_##UL)
#endif
#ifndef U16_C
#define U16_C(_x_) ((uint16_t)(_x_##U))
#define U16_C(_x_) (uint16_t)(_x_##U)
#endif
#ifndef U8_C
#define U8_C(_x_) ((uint8_t)(_x_##U))
#define U8_C(_x_) (uint8_t)(_x_##U)
#endif
#endif