commit | 311cc9f8f40687fc5b662e11c671ef45907f524b | [log] [tgz] |
---|---|---|
author | J. Neuschäfer <j.ne@posteo.net> | Fri Dec 20 11:37:52 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Dec 30 15:55:27 2024 -0600 |
tree | 46428fb05d3675224228ff17c6f22db2a56209c7 | |
parent | fe52954202e5784556df1efce577f014170e1b58 [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>