summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/arm/display/komeda/komeda_drv.c
diff options
context:
space:
mode:
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>2019-04-24 08:51:45 +0300
committerLiviu Dudau <Liviu.Dudau@arm.com>2019-05-07 13:26:47 +0300
commit15e9122d9b5c745024f2d9d5653caed1f37c185f (patch)
tree39721f4c91d113b68147316c030faa68986dc2f6 /drivers/gpu/drm/arm/display/komeda/komeda_drv.c
parent8c919745ee1c4d8d811a1e015d637d17aa78fe26 (diff)
downloadlinux-15e9122d9b5c745024f2d9d5653caed1f37c185f.tar.xz
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_drv.c')
-rw-r--r--drivers/gpu/drm/arm/display/komeda/komeda_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c b/drivers/gpu/drm/arm/display/komeda/komeda_drv.c
index 0285fd37a016..cfa5068d9d1e 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_drv.c
@@ -127,7 +127,7 @@ static const struct komeda_product_data komeda_products[] = {
},
};
-const struct of_device_id komeda_of_match[] = {
+static const struct of_device_id komeda_of_match[] = {
{ .compatible = "arm,mali-d71", .data = &komeda_products[MALI_D71], },
{},
};