projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b9c214
)
drm/ttm: make device_released static
author
Dave Airlie
<airlied@redhat.com>
Tue, 22 Jul 2014 02:59:32 +0000
(12:59 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 22 Jul 2014 02:59:32 +0000
(12:59 +1000)
fixes sparse warning, and removes potentially dangerous name from namespace.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_module.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/ttm/ttm_module.c
b/drivers/gpu/drm/ttm/ttm_module.c
index d7f92fe9d9045a6018c94f948d756c2baa674c7c..66fc6395eb5496efc244394b29b43dbd236486d2 100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_module.c
+++ b/
drivers/gpu/drm/ttm/ttm_module.c
@@
-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",