Signed-off-by: Guillaume Clément <gclement@xxxxxxxxxx> --- drivers/staging/nvec/nvec_power.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/nvec/nvec_power.c b/drivers/staging/nvec/nvec_power.c index aacfcd6..6446e15 100644 --- a/drivers/staging/nvec/nvec_power.c +++ b/drivers/staging/nvec/nvec_power.c @@ -226,6 +226,7 @@ static int nvec_power_get_property(struct power_supply *psy, union power_supply_propval *val) { struct nvec_power *power = dev_get_drvdata(psy->dev->parent); + switch (psp) { case POWER_SUPPLY_PROP_ONLINE: val->intval = power->on; -- 1.8.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html