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>
This commit is contained in:
Родитель
93e24ec6bf
Коммит
0741bf667f
|
@ -31,6 +31,6 @@ config VIDEO_ATOMISP_ISP2401
|
|||
Disabling it enables support for Atom ISP2400-based boards
|
||||
(Merrifield and Baytrail SoCs).
|
||||
|
||||
if INTEL_ATOMISP
|
||||
if VIDEO_ATOMISP
|
||||
source "drivers/staging/media/atomisp/i2c/Kconfig"
|
||||
endif
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
# Makefile for camera drivers.
|
||||
#
|
||||
obj-$(CONFIG_INTEL_ATOMISP) += i2c/
|
||||
obj-$(CONFIG_INTEL_ATOMISP) += platform/
|
||||
obj-$(CONFIG_VIDEO_ATOMISP) += atomisp.o
|
||||
|
||||
# While on staging, keep debug enabled
|
||||
|
@ -24,6 +23,7 @@ atomisp-objs += \
|
|||
pci/atomisp_subdev.o \
|
||||
pci/atomisp_tpg.o \
|
||||
pci/atomisp_v4l2.o \
|
||||
pci/atomisp_gmin_platform.o \
|
||||
pci/sh_css_firmware.o \
|
||||
pci/sh_css_host_data.o \
|
||||
pci/sh_css_hrt.o \
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
#
|
||||
# Makefile for camera drivers.
|
||||
#
|
||||
|
||||
obj-$(CONFIG_INTEL_ATOMISP) += intel-mid/
|
|
@ -1,4 +0,0 @@
|
|||
#
|
||||
# Makefile for intel-mid devices.
|
||||
#
|
||||
obj-$(CONFIG_INTEL_ATOMISP) += atomisp_gmin_platform.o
|
Загрузка…
Ссылка в новой задаче