OSDN Git Service

drm/bochs: make structure bochs_bo_driver static
authorColin Ian King <colin.king@canonical.com>
Wed, 7 Feb 2018 11:13:53 +0000 (11:13 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 19 Feb 2018 09:43:44 +0000 (10:43 +0100)
commitf42bd94628b12789ade8cafa87262ef4baad3742
treea52ad559bb2e9fb54485f4d06b6266dd8b49ffd3
parent57de50af162b67612da99207b061ade3239e57db
drm/bochs: make structure bochs_bo_driver static

The structure bochs_bo_driver is local to the source and does not need to
be in global scope, so make it static.

Cleans up sparse warning:
drivers/gpu/drm/bochs/bochs_mm.c:197:22: warning: symbol 'bochs_bo_driver'
was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180207111353.30261-1-colin.king@canonical.com
drivers/gpu/drm/bochs/bochs_mm.c