OSDN Git Service

media: atomisp: move atomisp_gmin_platform.c to pci/ dir
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 11 May 2020 09:47:25 +0000 (11:47 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 12:51:28 +0000 (14:51 +0200)
commit0741bf667f3cf2e9cf6ec88985e14495a95f1540
tree7e5628c99894cfd873c58ddc6d3d6f888b20f170
parent93e24ec6bfe6eeb5e74915e2761136c25cf6cd8d
media: atomisp: move atomisp_gmin_platform.c to pci/ dir

The atomisp_gmin_platform.c is not a platform driver anymore,
but it is, instead, part of the atomisp driver.

Move it to be together with the driver. As a bonus, as the
atomisp i2c drivers depends on its contents, probing them
should load automatically the atomisp core. This should
likely avoid some possible race conditions.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/Kconfig
drivers/staging/media/atomisp/Makefile
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c [moved from drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c with 100% similarity]
drivers/staging/media/atomisp/platform/Makefile [deleted file]
drivers/staging/media/atomisp/platform/intel-mid/Makefile [deleted file]