]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
media: staging: atomisp: Add driver prefix to Kconfig option and module names
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 11 Sep 2017 22:46:32 +0000 (00:46 +0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 27 Oct 2017 13:36:18 +0000 (15:36 +0200)
By adding the "atomisp-" prefix to module names (and "ATOMISP_" to Kconfig
options), the staging drivers for e.g. sensors are labelled as being
specific to atomisp, which they effectively are.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
15 files changed:
drivers/staging/media/atomisp/i2c/Kconfig
drivers/staging/media/atomisp/i2c/Makefile
drivers/staging/media/atomisp/i2c/atomisp-ap1302.c [moved from drivers/staging/media/atomisp/i2c/ap1302.c with 100% similarity]
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c [moved from drivers/staging/media/atomisp/i2c/gc0310.c with 100% similarity]
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c [moved from drivers/staging/media/atomisp/i2c/gc2235.c with 100% similarity]
drivers/staging/media/atomisp/i2c/atomisp-libmsrlisthelper.c [moved from drivers/staging/media/atomisp/i2c/libmsrlisthelper.c with 100% similarity]
drivers/staging/media/atomisp/i2c/atomisp-lm3554.c [moved from drivers/staging/media/atomisp/i2c/lm3554.c with 100% similarity]
drivers/staging/media/atomisp/i2c/atomisp-mt9m114.c [moved from drivers/staging/media/atomisp/i2c/mt9m114.c with 100% similarity]
drivers/staging/media/atomisp/i2c/atomisp-ov2680.c [moved from drivers/staging/media/atomisp/i2c/ov2680.c with 100% similarity]
drivers/staging/media/atomisp/i2c/atomisp-ov2722.c [moved from drivers/staging/media/atomisp/i2c/ov2722.c with 100% similarity]
drivers/staging/media/atomisp/i2c/imx/Kconfig
drivers/staging/media/atomisp/i2c/imx/Makefile
drivers/staging/media/atomisp/i2c/ov5693/Kconfig
drivers/staging/media/atomisp/i2c/ov5693/Makefile
drivers/staging/media/atomisp/i2c/ov5693/atomisp-ov5693.c [moved from drivers/staging/media/atomisp/i2c/ov5693/ov5693.c with 100% similarity]

index 57505b7a25ca3e7d87abeca2a81a26715b106c72..09b1a97ce56018f774c543175e67bcebdf4acc82 100644 (file)
@@ -5,7 +5,7 @@
 source "drivers/staging/media/atomisp/i2c/ov5693/Kconfig"
 source "drivers/staging/media/atomisp/i2c/imx/Kconfig"
 
-config VIDEO_OV2722
+config VIDEO_ATOMISP_OV2722
        tristate "OVT ov2722 sensor support"
        depends on I2C && VIDEO_V4L2
        ---help---
@@ -16,7 +16,7 @@ config VIDEO_OV2722
 
         It currently only works with the atomisp driver.
 
-config VIDEO_GC2235
+config VIDEO_ATOMISP_GC2235
        tristate "Galaxy gc2235 sensor support"
        depends on I2C && VIDEO_V4L2
        ---help---
@@ -27,7 +27,7 @@ config VIDEO_GC2235
 
         It currently only works with the atomisp driver.
 
-config VIDEO_OV8858
+config VIDEO_ATOMISP_OV8858
        tristate "Omnivision ov8858 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_ATOMISP
        ---help---
@@ -38,7 +38,7 @@ config VIDEO_OV8858
 
         It currently only works with the atomisp driver.
 
-config VIDEO_MSRLIST_HELPER
+config VIDEO_ATOMISP_MSRLIST_HELPER
        tristate "Helper library to load, parse and apply large register lists."
        depends on I2C
        ---help---
@@ -48,7 +48,7 @@ config VIDEO_MSRLIST_HELPER
         To compile this driver as a module, choose M here: the
         module will be called libmsrlisthelper.
 
-config VIDEO_MT9M114
+config VIDEO_ATOMISP_MT9M114
        tristate "Aptina mt9m114 sensor support"
        depends on I2C && VIDEO_V4L2
        ---help---
@@ -59,7 +59,7 @@ config VIDEO_MT9M114
 
         It currently only works with the atomisp driver.
 
-config VIDEO_AP1302
+config VIDEO_ATOMISP_AP1302
        tristate "AP1302 external ISP support"
        depends on I2C && VIDEO_V4L2
        select REGMAP_I2C
@@ -71,14 +71,14 @@ config VIDEO_AP1302
 
         It currently only works with the atomisp driver.
 
-config VIDEO_GC0310
+config VIDEO_ATOMISP_GC0310
        tristate "GC0310 sensor support"
        depends on I2C && VIDEO_V4L2
        ---help---
          This is a Video4Linux2 sensor-level driver for the Galaxycore
          GC0310 0.3MP sensor.
         
-config VIDEO_OV2680
+config VIDEO_ATOMISP_OV2680
        tristate "Omnivision OV2680 sensor support"
        depends on I2C && VIDEO_V4L2
        ---help---
@@ -93,7 +93,7 @@ config VIDEO_OV2680
 # Kconfig for flash drivers
 #
 
-config VIDEO_LM3554
+config VIDEO_ATOMISP_LM3554
        tristate "LM3554 flash light driver"
        depends on VIDEO_V4L2 && I2C
        ---help---
index be13fab921753f3ad4abeb67e1571b835654daca..3d27c75f5fc549fc8121fd4da3d26bd68eb05e5e 100644 (file)
@@ -2,22 +2,22 @@
 # Makefile for sensor drivers
 #
 
-obj-$(CONFIG_VIDEO_IMX)        += imx/
-obj-$(CONFIG_VIDEO_OV5693)     += ov5693/
-obj-$(CONFIG_VIDEO_MT9M114)    += mt9m114.o
-obj-$(CONFIG_VIDEO_GC2235)     += gc2235.o
-obj-$(CONFIG_VIDEO_OV2722)     += ov2722.o
-obj-$(CONFIG_VIDEO_OV2680)     += ov2680.o
-obj-$(CONFIG_VIDEO_GC0310)     += gc0310.o
+obj-$(CONFIG_VIDEO_ATOMISP_IMX)        += imx/
+obj-$(CONFIG_VIDEO_ATOMISP_OV5693)     += ov5693/
+obj-$(CONFIG_VIDEO_ATOMISP_MT9M114)    += atomisp-mt9m114.o
+obj-$(CONFIG_VIDEO_ATOMISP_GC2235)     += atomisp-gc2235.o
+obj-$(CONFIG_VIDEO_ATOMISP_OV2722)     += atomisp-ov2722.o
+obj-$(CONFIG_VIDEO_ATOMISP_OV2680)     += atomisp-ov2680.o
+obj-$(CONFIG_VIDEO_ATOMISP_GC0310)     += atomisp-gc0310.o
 
-obj-$(CONFIG_VIDEO_MSRLIST_HELPER) += libmsrlisthelper.o
+obj-$(CONFIG_VIDEO_ATOMISP_MSRLIST_HELPER) += atomisp-libmsrlisthelper.o
 
-obj-$(CONFIG_VIDEO_AP1302)     += ap1302.o
+obj-$(CONFIG_VIDEO_ATOMISP_AP1302)     += atomisp-ap1302.o
 
 # Makefile for flash drivers
 #
 
-obj-$(CONFIG_VIDEO_LM3554) += lm3554.o
+obj-$(CONFIG_VIDEO_ATOMISP_LM3554) += atomisp-lm3554.o
 
 # HACK! While this driver is in bad shape, don't enable several warnings
 #       that would be otherwise enabled with W=1
index a39eeb3b6ad43a06ebce916f89162d313290632e..c4356c1a8aca7b9f8e866a1e121a9edc04b5f6d7 100644 (file)
@@ -1,6 +1,6 @@
-config VIDEO_IMX
+config VIDEO_ATOMISP_IMX
        tristate "sony imx sensor support"
-       depends on I2C && VIDEO_V4L2 && VIDEO_MSRLIST_HELPER && m
+       depends on I2C && VIDEO_V4L2 && VIDEO_ATOMISP_MSRLIST_HELPER && m
        ---help---
          This is a Video4Linux2 sensor-level driver for the Sony
          IMX RAW sensor.
index b6578f09546ee32ec20f9c060434962396e0f64a..f3e2891cdfecd2c9032c4ccffd9c95d07a437ec9 100644 (file)
@@ -1,9 +1,9 @@
-obj-$(CONFIG_VIDEO_IMX) += imx1x5.o
+obj-$(CONFIG_VIDEO_ATOMISP_IMX) += atomisp-imx1x5.o
 
-imx1x5-objs := imx.o drv201.o ad5816g.o dw9714.o dw9719.o dw9718.o vcm.o otp.o otp_imx.o otp_brcc064_e2prom.o otp_e2prom.o
+atomisp-imx1x5-objs := imx.o drv201.o ad5816g.o dw9714.o dw9719.o dw9718.o vcm.o otp.o otp_imx.o otp_brcc064_e2prom.o otp_e2prom.o
 
-ov8858_driver-objs := ../ov8858.o dw9718.o vcm.o
-obj-$(CONFIG_VIDEO_OV8858)     += ov8858_driver.o
+atomisp-ov8858-objs := ../ov8858.o dw9718.o vcm.o
+obj-$(CONFIG_VIDEO_ATOMISP_OV8858)     += atomisp-ov8858.o
 
 # HACK! While this driver is in bad shape, don't enable several warnings
 #       that would be otherwise enabled with W=1
index 9e8d32521e7ed21b6a7c309fc3f6cd471ce1e4b1..5fe4113bbf08575ef9387c1278810530f8e335e3 100644 (file)
@@ -1,4 +1,4 @@
-config VIDEO_OV5693
+config VIDEO_ATOMISP_OV5693
        tristate "Omnivision ov5693 sensor support"
        depends on I2C && VIDEO_V4L2
        ---help---
index 4e3833aaec05fa5b3d9a0f83bb7ed4905b38584e..2de70003658adf7aa532f97c9fb0cd7d4b1158f8 100644 (file)
@@ -1,4 +1,4 @@
-obj-$(CONFIG_VIDEO_OV5693) += ov5693.o
+obj-$(CONFIG_VIDEO_ATOMISP_OV5693) += atomisp-ov5693.o
 
 # HACK! While this driver is in bad shape, don't enable several warnings
 #       that would be otherwise enabled with W=1