diff options
author | Rob Clark <robdclark@gmail.com> | 2017-07-11 10:08:05 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-08-22 13:20:39 -0400 |
commit | 6c0693b1ed500082516a13df53f688ef37a6b6e1 (patch) | |
tree | 428ba245b617f41ad7858ce1f04a323ddec0d9ef /drivers/gpu/drm/msm/msm_fb.c | |
parent | 466e5606cc21fc75e3c6ce2d16c6ddde48e1e4fa (diff) | |
download | op-kernel-dev-6c0693b1ed500082516a13df53f688ef37a6b6e1.zip op-kernel-dev-6c0693b1ed500082516a13df53f688ef37a6b6e1.tar.gz |
drm/msm: make msm_framebuffer_init() static
Only needed in msm_fb.c so don't export it.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_fb.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_fb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_fb.c b/drivers/gpu/drm/msm/msm_fb.c index c87dd3e..fc175e7 100644 --- a/drivers/gpu/drm/msm/msm_fb.c +++ b/drivers/gpu/drm/msm/msm_fb.c @@ -29,6 +29,8 @@ struct msm_framebuffer { }; #define to_msm_framebuffer(x) container_of(x, struct msm_framebuffer, base) +static struct drm_framebuffer *msm_framebuffer_init(struct drm_device *dev, + const struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_object **bos); static int msm_framebuffer_create_handle(struct drm_framebuffer *fb, struct drm_file *file_priv, @@ -162,7 +164,7 @@ out_unref: return ERR_PTR(ret); } -struct drm_framebuffer *msm_framebuffer_init(struct drm_device *dev, +static struct drm_framebuffer *msm_framebuffer_init(struct drm_device *dev, const struct drm_mode_fb_cmd2 *mode_cmd, struct drm_gem_object **bos) { struct msm_drm_private *priv = dev->dev_private; |