projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'lightnvm/for-next'
[deliverable/linux.git]
/
drivers
/
cpuidle
/
driver.c
diff --git
a/drivers/cpuidle/driver.c
b/drivers/cpuidle/driver.c
index 5db147859b9047db626d66e64bef2897a41822f2..389ade4572beb17c71ff44faf2ce884ad16baf54 100644
(file)
--- a/
drivers/cpuidle/driver.c
+++ b/
drivers/cpuidle/driver.c
@@
-227,6
+227,10
@@
static int __cpuidle_register_driver(struct cpuidle_driver *drv)
if (!drv || !drv->state_count)
return -EINVAL;
+ ret = cpuidle_coupled_state_verify(drv);
+ if (ret)
+ return ret;
+
if (cpuidle_disabled())
return -ENODEV;
This page took
0.024663 seconds
and
5
git commands to generate.