diff options
-rw-r--r-- | drivers/platform/x86/intel/pmt/crashlog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/intel/pmt/crashlog.c b/drivers/platform/x86/intel/pmt/crashlog.c index 440d2045e90d..881f4abdae14 100644 --- a/drivers/platform/x86/intel/pmt/crashlog.c +++ b/drivers/platform/x86/intel/pmt/crashlog.c @@ -138,7 +138,7 @@ static ssize_t enable_show(struct device *dev, struct device_attribute *attr, char *buf) { struct intel_pmt_entry *entry = dev_get_drvdata(dev); - int enabled = !pmt_crashlog_disabled(entry); + bool enabled = !pmt_crashlog_disabled(entry); return sprintf(buf, "%d\n", enabled); } @@ -169,7 +169,7 @@ static ssize_t trigger_show(struct device *dev, struct device_attribute *attr, char *buf) { struct intel_pmt_entry *entry; - int trigger; + bool trigger; entry = dev_get_drvdata(dev); trigger = pmt_crashlog_complete(entry); |