From c4f0de3eecd951cd5480cdbc9d96c63a4432a521 Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Mon, 17 Oct 2022 11:45:12 -0400 Subject: [PATCH] arm: fsl: csu: Reduce size of ns_dev None of the values in this struct are larger than 256, so we can reduce the members to u8s. This saves around 1K. Signed-off-by: Sean Anderson Reviewed-by: Peng Fan Signed-off-by: Peng Fan --- include/fsl_csu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fsl_csu.h b/include/fsl_csu.h index 0e59ac3c32..40c2968797 100644 --- a/include/fsl_csu.h +++ b/include/fsl_csu.h @@ -24,8 +24,8 @@ enum csu_cslx_access { }; struct csu_ns_dev { - unsigned long ind; - uint32_t val; + u8 ind; + u8 val; }; void enable_layerscape_ns_access(void); -- 2.39.5