diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-26 16:58:58 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-12-03 13:17:12 +0100 |
commit | f4309b0398fd9ba4cb3794761b9bfdcbcf5c065d (patch) | |
tree | 232fbe838a85cfd0356b05b30e9e52144763f271 /c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-siu-pcr.c | |
parent | bsp/mpc55xx: Add .sysram section (diff) | |
download | rtems-f4309b0398fd9ba4cb3794761b9bfdcbcf5c065d.tar.bz2 |
bsp/mpc55xx: Use RTEMS_ARRAY_SIZE()
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-siu-pcr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-siu-pcr.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-siu-pcr.c index 692dba2144..320c02f11a 100644 --- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-siu-pcr.c +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-siu-pcr.c @@ -131,5 +131,5 @@ const mpc55xx_siu_pcr_config mpc55xx_start_config_siu_pcr [] = { }; const size_t mpc55xx_start_config_siu_pcr_count [] = { - sizeof(mpc55xx_start_config_siu_pcr) / sizeof(mpc55xx_start_config_siu_pcr [0]) + RTEMS_ARRAY_SIZE(mpc55xx_start_config_siu_pcr) }; |