drm/qxl: move extern variable declaration header file

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
This commit is contained in:
Gerd Hoffmann 2017-06-20 13:39:16 +02:00
parent 45dfe57771
commit 747fddd4e8
2 changed files with 1 additions and 1 deletions

View 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 },

View 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,