Commit 747fddd4 authored by Gerd Hoffmann's avatar Gerd Hoffmann

drm/qxl: move extern variable declaration header file

Flagged by sparse.
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Acked-by: default avatarDaniel Vetter <daniel@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170620113916.6967-4-kraxel@redhat.com
parent 45dfe577
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include "qxl_drv.h" #include "qxl_drv.h"
#include "qxl_object.h" #include "qxl_object.h"
extern int qxl_max_ioctls;
static const struct pci_device_id pciidlist[] = { static const struct pci_device_id pciidlist[] = {
{ 0x1b36, 0x100, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, { 0x1b36, 0x100, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8,
0xffff00, 0 }, 0xffff00, 0 },
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
extern int qxl_log_level; extern int qxl_log_level;
extern int qxl_num_crtc; extern int qxl_num_crtc;
extern int qxl_max_ioctls;
enum { enum {
QXL_INFO_LEVEL = 1, QXL_INFO_LEVEL = 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment