linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media: davinci-vpbe: remove obsolete includes
@ 2019-06-28 10:51 Arnd Bergmann
  2019-07-01  8:25 ` Lad, Prabhakar
  2019-07-01 14:34 ` Sekhar Nori
  0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2019-06-28 10:51 UTC (permalink / raw)
  To: Lad, Prabhakar, Mauro Carvalho Chehab
  Cc: Arnd Bergmann, Sekhar Nori, linux-kernel, Bartosz Golaszewski,
	Hans Verkuil, linux-arm-kernel, linux-media

The driver builds fine without these, and they cause build
problems once davinci multiplatform support is enabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/media/platform/davinci/vpbe_display.c | 4 ----
 drivers/media/platform/davinci/vpbe_osd.c     | 5 -----
 drivers/media/platform/davinci/vpbe_venc.c    | 5 -----
 3 files changed, 14 deletions(-)

diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c
index 000b191c42d8..18f9408013d1 100644
--- a/drivers/media/platform/davinci/vpbe_display.c
+++ b/drivers/media/platform/davinci/vpbe_display.c
@@ -19,10 +19,6 @@
 
 #include <asm/pgtable.h>
 
-#ifdef CONFIG_ARCH_DAVINCI
-#include <mach/cputype.h>
-#endif
-
 #include <media/v4l2-dev.h>
 #include <media/v4l2-common.h>
 #include <media/v4l2-ioctl.h>
diff --git a/drivers/media/platform/davinci/vpbe_osd.c b/drivers/media/platform/davinci/vpbe_osd.c
index 491842ef33c5..91b571a0ac2c 100644
--- a/drivers/media/platform/davinci/vpbe_osd.c
+++ b/drivers/media/platform/davinci/vpbe_osd.c
@@ -16,11 +16,6 @@
 #include <linux/clk.h>
 #include <linux/slab.h>
 
-#ifdef CONFIG_ARCH_DAVINCI
-#include <mach/cputype.h>
-#include <mach/hardware.h>
-#endif
-
 #include <media/davinci/vpss.h>
 #include <media/v4l2-device.h>
 #include <media/davinci/vpbe_types.h>
diff --git a/drivers/media/platform/davinci/vpbe_venc.c b/drivers/media/platform/davinci/vpbe_venc.c
index 425f91f07165..8caa084e5704 100644
--- a/drivers/media/platform/davinci/vpbe_venc.c
+++ b/drivers/media/platform/davinci/vpbe_venc.c
@@ -14,11 +14,6 @@
 #include <linux/videodev2.h>
 #include <linux/slab.h>
 
-#ifdef CONFIG_ARCH_DAVINCI
-#include <mach/hardware.h>
-#include <mach/mux.h>
-#endif
-
 #include <linux/platform_data/i2c-davinci.h>
 
 #include <linux/io.h>
-- 
2.20.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] media: davinci-vpbe: remove obsolete includes
  2019-06-28 10:51 [PATCH] media: davinci-vpbe: remove obsolete includes Arnd Bergmann
@ 2019-07-01  8:25 ` Lad, Prabhakar
  2019-07-01 14:34 ` Sekhar Nori
  1 sibling, 0 replies; 3+ messages in thread
From: Lad, Prabhakar @ 2019-07-01  8:25 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Sekhar Nori, LKML, Bartosz Golaszewski, Hans Verkuil,
	Mauro Carvalho Chehab, LAK, linux-media

Hi Arnd,

Thank you for the patch.

On Fri, Jun 28, 2019 at 11:51 AM Arnd Bergmann <arnd@arndb.de> wrote:
>
> The driver builds fine without these, and they cause build
> problems once davinci multiplatform support is enabled.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  drivers/media/platform/davinci/vpbe_display.c | 4 ----
>  drivers/media/platform/davinci/vpbe_osd.c     | 5 -----
>  drivers/media/platform/davinci/vpbe_venc.c    | 5 -----
>  3 files changed, 14 deletions(-)
>

Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>

Cheers,
--Prabhakar Lad

> diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c
> index 000b191c42d8..18f9408013d1 100644
> --- a/drivers/media/platform/davinci/vpbe_display.c
> +++ b/drivers/media/platform/davinci/vpbe_display.c
> @@ -19,10 +19,6 @@
>
>  #include <asm/pgtable.h>
>
> -#ifdef CONFIG_ARCH_DAVINCI
> -#include <mach/cputype.h>
> -#endif
> -
>  #include <media/v4l2-dev.h>
>  #include <media/v4l2-common.h>
>  #include <media/v4l2-ioctl.h>
> diff --git a/drivers/media/platform/davinci/vpbe_osd.c b/drivers/media/platform/davinci/vpbe_osd.c
> index 491842ef33c5..91b571a0ac2c 100644
> --- a/drivers/media/platform/davinci/vpbe_osd.c
> +++ b/drivers/media/platform/davinci/vpbe_osd.c
> @@ -16,11 +16,6 @@
>  #include <linux/clk.h>
>  #include <linux/slab.h>
>
> -#ifdef CONFIG_ARCH_DAVINCI
> -#include <mach/cputype.h>
> -#include <mach/hardware.h>
> -#endif
> -
>  #include <media/davinci/vpss.h>
>  #include <media/v4l2-device.h>
>  #include <media/davinci/vpbe_types.h>
> diff --git a/drivers/media/platform/davinci/vpbe_venc.c b/drivers/media/platform/davinci/vpbe_venc.c
> index 425f91f07165..8caa084e5704 100644
> --- a/drivers/media/platform/davinci/vpbe_venc.c
> +++ b/drivers/media/platform/davinci/vpbe_venc.c
> @@ -14,11 +14,6 @@
>  #include <linux/videodev2.h>
>  #include <linux/slab.h>
>
> -#ifdef CONFIG_ARCH_DAVINCI
> -#include <mach/hardware.h>
> -#include <mach/mux.h>
> -#endif
> -
>  #include <linux/platform_data/i2c-davinci.h>
>
>  #include <linux/io.h>
> --
> 2.20.0
>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] media: davinci-vpbe: remove obsolete includes
  2019-06-28 10:51 [PATCH] media: davinci-vpbe: remove obsolete includes Arnd Bergmann
  2019-07-01  8:25 ` Lad, Prabhakar
@ 2019-07-01 14:34 ` Sekhar Nori
  1 sibling, 0 replies; 3+ messages in thread
From: Sekhar Nori @ 2019-07-01 14:34 UTC (permalink / raw)
  To: Arnd Bergmann, Lad, Prabhakar, Mauro Carvalho Chehab
  Cc: Bartosz Golaszewski, Hans Verkuil, linux-kernel,
	linux-arm-kernel, linux-media

On 28/06/19 4:21 PM, Arnd Bergmann wrote:
> The driver builds fine without these, and they cause build
> problems once davinci multiplatform support is enabled.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Sekhar Nori <nsekhar@ti.com>

Thanks,
Sekhar

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-07-01 14:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-28 10:51 [PATCH] media: davinci-vpbe: remove obsolete includes Arnd Bergmann
2019-07-01  8:25 ` Lad, Prabhakar
2019-07-01 14:34 ` Sekhar Nori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).