diff options
author | Dave Airlie <airlied@redhat.com> | 2014-07-21 22:59:32 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-07-21 22:59:32 -0400 |
commit | 4133d018039637a066b0fee9bcaff214e7d2e051 (patch) | |
tree | d0118b7d21607de46a3a4ebc929da20ccfc6487a | |
parent | 3b9c214a28e3c611a5322257574dc7b725558e04 (diff) |
drm/ttm: make device_released static
fixes sparse warning, and removes potentially dangerous name from namespace.
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_module.c b/drivers/gpu/drm/ttm/ttm_module.c index d7f92fe9d904..66fc6395eb54 100644 --- a/drivers/gpu/drm/ttm/ttm_module.c +++ b/drivers/gpu/drm/ttm/ttm_module.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <drm/drm_sysfs.h> | 35 | #include <drm/drm_sysfs.h> |
36 | 36 | ||
37 | static DECLARE_WAIT_QUEUE_HEAD(exit_q); | 37 | static DECLARE_WAIT_QUEUE_HEAD(exit_q); |
38 | atomic_t device_released; | 38 | static atomic_t device_released; |
39 | 39 | ||
40 | static struct device_type ttm_drm_class_type = { | 40 | static struct device_type ttm_drm_class_type = { |
41 | .name = "ttm", | 41 | .name = "ttm", |