Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/ttm: make device_released static

fixes sparse warning, and removes potentially dangerous name from namespace.

Signed-off-by: Dave Airlie <airlied@redhat.com>

+1 -1
+1 -1
drivers/gpu/drm/ttm/ttm_module.c
··· 35 35 #include <drm/drm_sysfs.h> 36 36 37 37 static DECLARE_WAIT_QUEUE_HEAD(exit_q); 38 - atomic_t device_released; 38 + static atomic_t device_released; 39 39 40 40 static struct device_type ttm_drm_class_type = { 41 41 .name = "ttm",