diff options
author | Dave Airlie <airlied@redhat.com> | 2013-04-16 03:24:25 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-04-16 03:33:36 (GMT) |
commit | 6d01f1f54c01877baad11389291c1aeab9c11e0f (patch) | |
tree | 39a0c5375c2197f7566382913739be2a867c30c7 /drivers/gpu/drm/qxl/qxl_kms.c | |
parent | dea14dfab9d1fdf5695ae61dc72c587533706edc (diff) | |
download | linux-fsl-qoriq-6d01f1f54c01877baad11389291c1aeab9c11e0f.tar.xz |
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_kms.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_kms.c b/drivers/gpu/drm/qxl/qxl_kms.c index 036e0de..85127ed 100644 --- a/drivers/gpu/drm/qxl/qxl_kms.c +++ b/drivers/gpu/drm/qxl/qxl_kms.c @@ -230,7 +230,7 @@ int qxl_device_init(struct qxl_device *qdev, return 0; } -void qxl_device_fini(struct qxl_device *qdev) +static void qxl_device_fini(struct qxl_device *qdev) { if (qdev->current_release_bo[0]) qxl_bo_unref(&qdev->current_release_bo[0]); |