Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/ti/twl/twl_vreg.c
Context not available. | |||||
/* Add a sysctl entry for the voltage */ | /* Add a sysctl entry for the voltage */ | ||||
new->oid = SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(tree), OID_AUTO, name, | new->oid = SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(tree), OID_AUTO, name, | ||||
CTLTYPE_INT | CTLFLAG_RD, sc, 0, | CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_NEEDGIANT, sc, 0, | ||||
twl_vreg_sysctl_voltage, "I", "voltage regulator"); | twl_vreg_sysctl_voltage, "I", "voltage regulator"); | ||||
/* Finally add the regulator to list of supported regulators */ | /* Finally add the regulator to list of supported regulators */ | ||||
Context not available. |