drm/qxl: move extern variable declaration header file
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 20 Jun 2017 11:39:16 +0000 (13:39 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 23 Jun 2017 08:06:43 +0000 (10:06 +0200)
Flagged by sparse.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170620113916.6967-4-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_drv.c
drivers/gpu/drm/qxl/qxl_drv.h

index 15c97b16ee2107ba74842cce84f43105073be7c9..403e135895bf1cf1d8bd9d21f1277c4748f45e66 100644 (file)
@@ -37,7 +37,6 @@
 #include "qxl_drv.h"
 #include "qxl_object.h"
 
-extern int qxl_max_ioctls;
 static const struct pci_device_id pciidlist[] = {
        { 0x1b36, 0x100, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8,
          0xffff00, 0 },
index 3591d2330a09d809490427574b7d2fa03628e7ad..3397a190733693d649794649e35a7c725a251262 100644 (file)
@@ -64,6 +64,7 @@
 
 extern int qxl_log_level;
 extern int qxl_num_crtc;
+extern int qxl_max_ioctls;
 
 enum {
        QXL_INFO_LEVEL = 1,