intel_extreme: fix C++ syntax.

Thanks to tqh and cpcheck for finding this.
This commit is contained in:
Adrien Destugues 2018-04-21 22:05:07 +02:00
parent 853a76f1f3
commit 1b4fdf606d
1 changed files with 1 additions and 1 deletions

View File

@ -67,6 +67,6 @@ PanelFitter::_Enable(bool enable)
{
uint32 targetRegister = fBaseRegister + PCH_PANEL_FITTER_CONTROL;
write32(targetRegister, read32(targetRegister) & ~PANEL_FITTER_ENABLED
| (enable ? PANEL_FITTER_ENABLED | 0));
| (enable ? PANEL_FITTER_ENABLED : 0));
read32(targetRegister);
}