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_drv.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_drv.c')
-rw-r--r-- | drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 2 |
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], }, {}, }; |