diff options
author | james qian wang (Arm Technology China) <james.qian.wang@arm.com> | 2019-04-24 06:51:45 +0100 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2019-05-07 11:26:47 +0100 |
commit | 15e9122d9b5c745024f2d9d5653caed1f37c185f (patch) | |
tree | 39721f4c91d113b68147316c030faa68986dc2f6 /drivers/gpu/drm/arm/display/komeda/komeda_plane.c | |
parent | 8c919745ee1c4d8d811a1e015d637d17aa78fe26 (diff) | |
download | lwn-15e9122d9b5c745024f2d9d5653caed1f37c185f.tar.gz lwn-15e9122d9b5c745024f2d9d5653caed1f37c185f.zip |
drm/komeda: Mark the local functions as static
Fix the kbuild test rebot reported warnings:
- symbol was not declared. Should it be static?
- missing braces around initializer
Depends on:
- https://patchwork.freedesktop.org/series/58976/
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: james qian wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/display/komeda/komeda_plane.c')
-rw-r--r-- | drivers/gpu/drm/arm/display/komeda/komeda_plane.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_plane.c b/drivers/gpu/drm/arm/display/komeda/komeda_plane.c index 46654f0be73d..07ed0cc1bc44 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_plane.c +++ b/drivers/gpu/drm/arm/display/komeda/komeda_plane.c @@ -47,8 +47,9 @@ komeda_plane_init_data_flow(struct drm_plane_state *st, * RETURNS: * Zero for success or -errno */ -int komeda_plane_atomic_check(struct drm_plane *plane, - struct drm_plane_state *state) +static int +komeda_plane_atomic_check(struct drm_plane *plane, + struct drm_plane_state *state) { struct komeda_plane *kplane = to_kplane(plane); struct komeda_plane_state *kplane_st = to_kplane_st(state); @@ -87,8 +88,9 @@ int komeda_plane_atomic_check(struct drm_plane *plane, /* plane doesn't represent a real HW, so there is no HW update for plane. * komeda handles all the HW update in crtc->atomic_flush */ -void komeda_plane_atomic_update(struct drm_plane *plane, - struct drm_plane_state *old_state) +static void +komeda_plane_atomic_update(struct drm_plane *plane, + struct drm_plane_state *old_state) { } |