Thread (29 messages) 29 messages, 4 authors, 2019-01-07

Re: [PATCH 07/12] media: mt9m001: remove remaining soc_camera specific code

From: Akinobu Mita <akinobu.mita@gmail.com>
Date: 2019-01-07 14:13:47
Also in: linux-media

2019年1月7日(月) 20:29 Sakari Ailus [off-list ref]:
Hi Mita-san,

On Sun, Dec 23, 2018 at 02:12:49AM +0900, Akinobu Mita wrote:
quoted
Remove remaining soc_camera specific code and drop soc_camera dependency
from this driver.

Cc: Guennadi Liakhovetski <redacted>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Mauro Carvalho Chehab <redacted>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
---
 drivers/media/i2c/Kconfig   |  2 +-
 drivers/media/i2c/mt9m001.c | 84 ++++++++-------------------------------------
 2 files changed, 15 insertions(+), 71 deletions(-)
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 0efc038..4bdf043 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -845,7 +845,7 @@ config VIDEO_VS6624

 config VIDEO_MT9M001
      tristate "mt9m001 support"
-     depends on SOC_CAMERA && I2C
+     depends on I2C && VIDEO_V4L2
      help
        This driver supports MT9M001 cameras from Micron, monochrome
        and colour models.
diff --git a/drivers/media/i2c/mt9m001.c b/drivers/media/i2c/mt9m001.c
index f20188a..eb5c4ed 100644
--- a/drivers/media/i2c/mt9m001.c
+++ b/drivers/media/i2c/mt9m001.c
@@ -15,15 +15,12 @@
 #include <linux/log2.h>
 #include <linux/module.h>

-#include <media/soc_camera.h>
-#include <media/drv-intf/soc_mediabus.h>
 #include <media/v4l2-subdev.h>
 #include <media/v4l2-ctrls.h>
While at it, could you order the list alphabetically? The same applies to
further patches changing included files.
OK.  I'll prepare another separate patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help