Skip to content

Commit

Permalink
drm/ttm: make device_released static
Browse files Browse the repository at this point in the history
fixes sparse warning, and removes potentially dangerous name from namespace.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Jul 22, 2014
1 parent 3b9c214 commit 4133d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/ttm/ttm_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <drm/drm_sysfs.h>

static DECLARE_WAIT_QUEUE_HEAD(exit_q);
atomic_t device_released;
static atomic_t device_released;

static struct device_type ttm_drm_class_type = {
.name = "ttm",
Expand Down

0 comments on commit 4133d01

Please sign in to comment.