Skip to content
Snippets Groups Projects
Commit dd72b52f authored by Nano's avatar Nano
Browse files

add type field

parent 39d82704
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ static struct power_supply_desc bat_desc = {
.properties = bat_props,
.num_properties = ARRAY_SIZE(bat_props),
.get_property = bat_get_property,
.type = POWER_SUPPLY_TYPE_BATTERY,
};
static int spiProbe(struct spi_device *spi)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment