diff options
Diffstat (limited to 'drivers')
-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 98ed42e757..d7e385d0b5 100644 --- a/drivers/misc/state.c +++ b/drivers/misc/state.c @@ -28,7 +28,7 @@ static int state_probe(struct device_d *dev) bool readonly = false; int ret; - state = state_new_from_node(np, NULL, 0, 0, readonly); + state = state_new_from_node(np, readonly); if (IS_ERR(state)) { int ret = PTR_ERR(state); if (ret == -ENODEV) |