mirror of https://gitee.com/openkylin/linux.git
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:
parent
45dfe57771
commit
747fddd4e8
|
@ -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 @@
|
||||||
|
|
||||||
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,
|
||||||
|
|
Loading…
Reference in New Issue