lib/intel_chipset: intel_ prefix for pch global

Just a bit better namespacing.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-03-22 14:59:58 +01:00
parent aed95c390a
commit 266b26b3ed
4 changed files with 16 additions and 16 deletions
+5 -5
View File
@@ -40,7 +40,7 @@
#include "intel_chipset.h"
enum pch_type pch;
enum pch_type intel_pch;
struct pci_device *
intel_get_pci_device(void)
@@ -148,18 +148,18 @@ intel_check_pch(void)
switch (pch_dev->device_id & 0xff00) {
case 0x3b00:
pch = PCH_IBX;
intel_pch = PCH_IBX;
break;
case 0x1c00:
case 0x1e00:
pch = PCH_CPT;
intel_pch = PCH_CPT;
break;
case 0x8c00:
case 0x9c00:
pch = PCH_LPT;
intel_pch = PCH_LPT;
break;
default:
pch = PCH_NONE;
intel_pch = PCH_NONE;
return;
}
}