drm/ttm: make device_released static
fixes sparse warning, and removes potentially dangerous name from namespace. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
#include <drm/drm_sysfs.h>
|
#include <drm/drm_sysfs.h>
|
||||||
|
|
||||||
static DECLARE_WAIT_QUEUE_HEAD(exit_q);
|
static DECLARE_WAIT_QUEUE_HEAD(exit_q);
|
||||||
atomic_t device_released;
|
static atomic_t device_released;
|
||||||
|
|
||||||
static struct device_type ttm_drm_class_type = {
|
static struct device_type ttm_drm_class_type = {
|
||||||
.name = "ttm",
|
.name = "ttm",
|
||||||
|
|||||||
Reference in New Issue
Block a user