summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/volt/priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nouveau/nvkm/subdev/volt/priv.h')
-rw-r--r--drm/nouveau/nvkm/subdev/volt/priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drm/nouveau/nvkm/subdev/volt/priv.h b/drm/nouveau/nvkm/subdev/volt/priv.h
index d5140d991..e6b0be1d0 100644
--- a/drm/nouveau/nvkm/subdev/volt/priv.h
+++ b/drm/nouveau/nvkm/subdev/volt/priv.h
@@ -14,6 +14,7 @@ struct nvkm_volt_func {
int (*vid_get)(struct nvkm_volt *);
int (*vid_set)(struct nvkm_volt *, u8 vid);
int (*set_id)(struct nvkm_volt *, u8 id, int condition);
+ int (*get_voltage_by_id)(struct nvkm_volt *, u8 vid);
};
int nvkm_voltgpio_init(struct nvkm_volt *);