diff options
author | J. Neuschäfer <j.ne@posteo.net> | 2024-12-20 11:37:52 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-30 15:55:27 -0600 |
commit | b3e8c67a91b6e614fa84db270010da4faa702a42 (patch) | |
tree | 46428fb05d3675224228ff17c6f22db2a56209c7 /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | deb26b6c29670dee743dfb54b8f69866339580bd (diff) |
powerpc: mpc83xx: Allow including initreg.h into multiple files
Globals defined in headers can result in multiple-definition errors
while linking, if they are visible beyond the current translation unit.
This hasn't been a problem for initreg.h so far, but would become a
problem in the next patch, where I use a constant from initreg.h in a
second C file.
Reviewed-by: Sinan Akman <sinan@writeme.com>
Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions