diff options
author | Dave Airlie <airlied@redhat.com> | 2013-04-16 05:24:25 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-04-16 05:33:36 +0200 |
commit | 6d01f1f54c01877baad11389291c1aeab9c11e0f (patch) | |
tree | 39a0c5375c2197f7566382913739be2a867c30c7 /drivers/gpu/drm/qxl/qxl_drv.c | |
parent | Merge tag 'omapdss-for-3.10' of git://gitorious.org/linux-omap-dss2/linux int... (diff) | |
download | linux-6d01f1f54c01877baad11389291c1aeab9c11e0f.tar.xz linux-6d01f1f54c01877baad11389291c1aeab9c11e0f.zip |
drm/qxl: make lots of things static.
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:414:9: sparse: preprocessor token offsetof redefined
include/linux/stddef.h:17:9: this was the original definition
>> drivers/gpu/drm/qxl/qxl_drv.c:49:5: sparse: symbol 'qxl_modeset' was not declared. Should it be static?
Reported-by: kbuild test robot.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_drv.c b/drivers/gpu/drm/qxl/qxl_drv.c index d337da0a9759..aa291d8a98a2 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.c +++ b/drivers/gpu/drm/qxl/qxl_drv.c @@ -46,7 +46,7 @@ static DEFINE_PCI_DEVICE_TABLE(pciidlist) = { }; MODULE_DEVICE_TABLE(pci, pciidlist); -int qxl_modeset = -1; +static int qxl_modeset = -1; MODULE_PARM_DESC(modeset, "Disable/Enable modesetting"); module_param_named(modeset, qxl_modeset, int, 0400); |