Platforms/AMD/Styx: use anonymous return values for I2Cn::SSCN/FMCN
The compiler complains about the named objects used to hold the return
values of the I2C0 and I2C1 SSCN and FMCN methods:
Method (SSCN, 0, NotSerialized)
Control Method should be made Serialized ^
(due to creation of named objects within)
Method (FMCN, 0, NotSerialized)
Control Method should be made Serialized ^
(due to creation of named objects within)
So return anonymous rather than named packages to shut up the compiler
diagnostic.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Graeme Gregory <graeme.gregory@linaro.org>
1 file changed