summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel_pmt_class.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/intel_pmt_class.c')
-rw-r--r--drivers/platform/x86/intel_pmt_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel_pmt_class.c b/drivers/platform/x86/intel_pmt_class.c
index c8939fba4509..ee2b3bbeb83d 100644
--- a/drivers/platform/x86/intel_pmt_class.c
+++ b/drivers/platform/x86/intel_pmt_class.c
@@ -173,7 +173,7 @@ static int intel_pmt_dev_register(struct intel_pmt_entry *entry,
struct intel_pmt_namespace *ns,
struct device *parent)
{
- struct resource res;
+ struct resource res = {0};
struct device *dev;
int ret;