summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/nvhost.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index c89d9b82af14..d7d8ad04653d 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -172,6 +172,10 @@ struct nvhost_driver {
/* Allocates a context handler for the device */
struct nvhost_hwctx_handler *(*alloc_hwctx_handler)(u32 syncpt,
u32 waitbase, struct nvhost_channel *ch);
+
+ /* Clock gating callbacks */
+ int (*prepare_clockoff)(struct nvhost_device *dev);
+ void (*finalize_clockon)(struct nvhost_device *dev);
};
extern int nvhost_driver_register(struct nvhost_driver *);