diff options
| -rw-r--r-- | drivers/cpufreq/pcc-cpufreq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/pcc-cpufreq.c b/drivers/cpufreq/pcc-cpufreq.c index cdc02ac8f41a..503996a94a6a 100644 --- a/drivers/cpufreq/pcc-cpufreq.c +++ b/drivers/cpufreq/pcc-cpufreq.c | |||
| @@ -454,6 +454,7 @@ static int __init pcc_cpufreq_probe(void) | |||
| 454 | mem_resource->address_length); | 454 | mem_resource->address_length); |
| 455 | if (pcch_virt_addr == NULL) { | 455 | if (pcch_virt_addr == NULL) { |
| 456 | pr_debug("probe: could not map shared mem region\n"); | 456 | pr_debug("probe: could not map shared mem region\n"); |
| 457 | ret = -ENOMEM; | ||
| 457 | goto out_free; | 458 | goto out_free; |
| 458 | } | 459 | } |
| 459 | pcch_hdr = pcch_virt_addr; | 460 | pcch_hdr = pcch_virt_addr; |
