diff options
Diffstat (limited to 'drivers/misc/state.c')
-rw-r--r-- | drivers/misc/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/state.c b/drivers/misc/state.c index cb0d9cf3ad..2e393505d1 100644 --- a/drivers/misc/state.c +++ b/drivers/misc/state.c @@ -14,7 +14,7 @@ static int state_probe(struct device_d *dev) { - struct device_node *np = dev->device_node; + struct device_node *np = dev->of_node; struct state *state; bool readonly = false; int ret; |