video: camera: Modify rtcpu modules for OOT tree

This patch modifies rtcpu modules to use new ivc headers,
resolves cyclic dependencies between the modules,
reduces the amount of modules built by linking them together
and fixes other minor issues encountered with K5.15

Change-Id: I9cf2672df08ffe6c4b8aea9ac21d6cc50a92bb4e
Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2787121
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Semi Malinen <smalinen@nvidia.com>
Reviewed-by: Pekka Pessi <ppessi@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Matti Ryttylainen
2022-10-05 08:18:59 +03:00
committed by mobile promotions
parent 304123a3bf
commit dd109353df
13 changed files with 74 additions and 116 deletions

View File

@@ -7,9 +7,9 @@
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/slab.h>
#include <linux/tegra-ivc.h>
#include <soc/tegra/ivc_ext.h>
#include <linux/tegra-ivc-bus.h>
#include <linux/tegra-ivc-instance.h>
#include <soc/tegra/ivc-priv.h>
static int tegra_camera_diagnostics_probe(struct tegra_ivc_channel *ch)
{
@@ -33,6 +33,8 @@ static const struct of_device_id camera_diagnostics_of_match[] = {
{ },
};
MODULE_DEVICE_TABLE(of, camera_diagnostics_of_match);
static struct tegra_ivc_driver camera_diagnostics_driver = {
.driver = {
.owner = THIS_MODULE,