diff --git a/drivers/gpu/nvgpu/include/nvgpu/fifo/userd.h b/drivers/gpu/nvgpu/include/nvgpu/fifo/userd.h index 99a48ea07..4d1fa4fce 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/fifo/userd.h +++ b/drivers/gpu/nvgpu/include/nvgpu/fifo/userd.h @@ -30,8 +30,11 @@ struct channel_gk20a; int nvgpu_userd_setup_sw(struct gk20a *g); void nvgpu_userd_cleanup_sw(struct gk20a *g); -int nvgpu_userd_init_slabs(struct gk20a *g); -void nvgpu_userd_free_slabs(struct gk20a *g); int nvgpu_userd_init_channel(struct gk20a *g, struct channel_gk20a *c); +#ifdef NVGPU_USERD +int nvgpu_userd_init_slabs(struct gk20a *g); +void nvgpu_userd_free_slabs(struct gk20a *g); +#endif + #endif /* NVGPU_FIFO_USERD_H */