public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] media: ov02c10: Don't include linux/version.h
@ 2025-06-28 14:15 ` Sakari Ailus
  2025-06-29 14:36   ` Bryan O'Donoghue
  0 siblings, 1 reply; 2+ messages in thread
From: Sakari Ailus @ 2025-06-28 14:15 UTC (permalink / raw)
  To: linux-media

linux/version.h isn't needed by the driver, don't include it.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
 drivers/media/i2c/ov02c10.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/i2c/ov02c10.c b/drivers/media/i2c/ov02c10.c
index 089a4fd9627c..594bfb02da0f 100644
--- a/drivers/media/i2c/ov02c10.c
+++ b/drivers/media/i2c/ov02c10.c
@@ -9,7 +9,6 @@
 #include <linux/module.h>
 #include <linux/pm_runtime.h>
 #include <linux/regmap.h>
-#include <linux/version.h>
 #include <media/v4l2-cci.h>
 #include <media/v4l2-ctrls.h>
 #include <media/v4l2-device.h>
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] media: ov02c10: Don't include linux/version.h
  2025-06-28 14:15 ` [PATCH 1/1] media: ov02c10: Don't include linux/version.h Sakari Ailus
@ 2025-06-29 14:36   ` Bryan O'Donoghue
  0 siblings, 0 replies; 2+ messages in thread
From: Bryan O'Donoghue @ 2025-06-29 14:36 UTC (permalink / raw)
  To: Sakari Ailus, linux-media

On 28/06/2025 15:15, Sakari Ailus wrote:
> linux/version.h isn't needed by the driver, don't include it.
> 
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> ---
>   drivers/media/i2c/ov02c10.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/media/i2c/ov02c10.c b/drivers/media/i2c/ov02c10.c
> index 089a4fd9627c..594bfb02da0f 100644
> --- a/drivers/media/i2c/ov02c10.c
> +++ b/drivers/media/i2c/ov02c10.c
> @@ -9,7 +9,6 @@
>   #include <linux/module.h>
>   #include <linux/pm_runtime.h>
>   #include <linux/regmap.h>
> -#include <linux/version.h>
>   #include <media/v4l2-cci.h>
>   #include <media/v4l2-ctrls.h>
>   #include <media/v4l2-device.h>
> --
> 2.39.5
> 
> 
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-29 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <7W8Gb6ShUKt2UvdZkAKqjzGHFyXU-2Sq-EOl8VSOmnHINBQYvunZol0u_AfiHEqXm93u-rqiuzPHlLMhd97eow==@protonmail.internalid>
2025-06-28 14:15 ` [PATCH 1/1] media: ov02c10: Don't include linux/version.h Sakari Ailus
2025-06-29 14:36   ` Bryan O'Donoghue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox