]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: staging/imx: Re-organize modules
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 10 May 2019 21:50:10 +0000 (17:50 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 28 May 2019 18:13:56 +0000 (14:13 -0400)
commit6b8952db064480544a03d76601006f3eb9e89383
tree0afc904e03a441dd95cf80999c17520c6350ce37
parent523759c7bfd5207dbf800f1daa1bd10453dd0c4c
media: staging/imx: Re-organize modules

Re-organize modules, and which objects are linked into those modules, so
that:

- imx6-media (renamed from imx-media) is the media driver module for
  imx5/6 only, and has no symbol exports.

- imx6-media-csi (renamed from imx-media-csi) is the subdev driver
  module for imx5/6 CSI. It is now linked direcly with imx-media-fim,
  since only the imx5/6 CSI makes use of the frame interval monitor.

- imx-media-common now only contains common code between imx5/6 and imx7
  media drivers. It contains imx-media-utils, imx-media-of,
  imx-media-dev-common, and imx-media-capture. In order to acheive that,
  some functions common to imx5/6 and imx7 have been moved out of
  imx-media-dev.c and into imx-media-dev-common.c.

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/imx/Makefile
drivers/staging/media/imx/imx-media-dev-common.c
drivers/staging/media/imx/imx-media-dev.c
drivers/staging/media/imx/imx-media-fim.c
drivers/staging/media/imx/imx-media-of.c
drivers/staging/media/imx/imx-media.h
drivers/staging/media/imx/imx7-media-csi.c