diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h index 81402ad0..17c3f9a4 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |||
@@ -259,10 +259,6 @@ static inline struct gk20a *get_gk20a(struct device *dev) | |||
259 | { | 259 | { |
260 | return gk20a_get_platform(dev)->g; | 260 | return gk20a_get_platform(dev)->g; |
261 | } | 261 | } |
262 | static inline struct device *dev_from_gk20a(struct gk20a *g) | ||
263 | { | ||
264 | return g->dev; | ||
265 | } | ||
266 | static inline struct gk20a *gk20a_from_dev(struct device *dev) | 262 | static inline struct gk20a *gk20a_from_dev(struct device *dev) |
267 | { | 263 | { |
268 | if (!dev) | 264 | if (!dev) |