summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801jx/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/i82801jx/lpc.c')
-rw-r--r--src/southbridge/intel/i82801jx/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801jx/lpc.c b/src/southbridge/intel/i82801jx/lpc.c
index e93502fa0d..7cff33a261 100644
--- a/src/southbridge/intel/i82801jx/lpc.c
+++ b/src/southbridge/intel/i82801jx/lpc.c
@@ -144,14 +144,14 @@ bool southbridge_support_c5(void)
{
struct device *lpc_dev = __pci_0_1f_0;
struct southbridge_intel_i82801jx_config *config = lpc_dev->chip_info;
- return config->c5_enable == 1;
+ return config->c5_enable;
}
bool southbridge_support_c6(void)
{
struct device *lpc_dev = __pci_0_1f_0;
struct southbridge_intel_i82801jx_config *config = lpc_dev->chip_info;
- return config->c6_enable == 1;
+ return config->c6_enable;
}
static void i82801jx_power_options(struct device *dev)