diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-24 10:50:58 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-26 08:05:24 +0100 |
commit | b087982886e24dd9b50457d4263910ae671be177 (patch) | |
tree | 55ace20ec2cc1c86b2bb3558fc98ac044fe4acbe /drivers/media/test-drivers/vidtv/vidtv_psi.h | |
parent | 5a5b9fb1a1117b2cf71a162309e370850a626dbf (diff) | |
download | linux-stable-b087982886e24dd9b50457d4263910ae671be177.tar.gz linux-stable-b087982886e24dd9b50457d4263910ae671be177.tar.bz2 linux-stable-b087982886e24dd9b50457d4263910ae671be177.zip |
media: vidtv: simplify EIT write function
- pass struct vidtv_psi_eit_write_args as a pointer;
- avoid initializing struct fields multiple times.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/test-drivers/vidtv/vidtv_psi.h')
-rw-r--r-- | drivers/media/test-drivers/vidtv/vidtv_psi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/test-drivers/vidtv/vidtv_psi.h b/drivers/media/test-drivers/vidtv/vidtv_psi.h index 8e366ea44cca..7a5901f11a37 100644 --- a/drivers/media/test-drivers/vidtv/vidtv_psi.h +++ b/drivers/media/test-drivers/vidtv/vidtv_psi.h @@ -773,7 +773,7 @@ struct vidtv_psi_eit_write_args { * equal to the size of the EIT, since more space is needed for TS headers during TS * encapsulation. */ -u32 vidtv_psi_eit_write_into(struct vidtv_psi_eit_write_args args); +u32 vidtv_psi_eit_write_into(struct vidtv_psi_eit_write_args *args); void vidtv_psi_eit_table_destroy(struct vidtv_psi_table_eit *eit); |