]> Git Repo - linux.git/commitdiff
media: omap3isp: remove cacheflush.h
authorNathan Chancellor <[email protected]>
Fri, 26 Jun 2020 03:30:11 +0000 (20:30 -0700)
committerLinus Torvalds <[email protected]>
Fri, 26 Jun 2020 07:27:37 +0000 (00:27 -0700)
After mm.h was removed from the asm-generic version of cacheflush.h,
s390 allyesconfig shows several warnings of the following nature:

  In file included from arch/s390/include/generated/asm/cacheflush.h:1,
                   from drivers/media/platform/omap3isp/isp.c:42:
  include/asm-generic/cacheflush.h:16:42: warning: 'struct mm_struct' declared inside parameter list will not be visible outside of this definition or declaration

As Geert and Laurent point out, this driver does not need this header in
the two files that include it.  Remove it so there are no warnings.

Link: http://lkml.kernel.org/r/[email protected]
Fixes: e0cf615d725c ("asm-generic: don't include <linux/mm.h> in cacheflush.h")
Signed-off-by: Nathan Chancellor <[email protected]>
Suggested-by: Geert Uytterhoeven <[email protected]>
Suggested-by: Laurent Pinchart <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/media/platform/omap3isp/isp.c
drivers/media/platform/omap3isp/ispvideo.c

index a4ee6b86663e2dfb63d8e73bab68e95e07f4e67a..b91e472ee764e9eb6b7221b8fb909b244cdab7ea 100644 (file)
@@ -39,8 +39,6 @@
  *     Troy Laramy <[email protected]>
  */
 
-#include <asm/cacheflush.h>
-
 #include <linux/clk.h>
 #include <linux/clkdev.h>
 #include <linux/delay.h>
index 10c214bd09030e8f03efcdd578ead22a5c42107f..1ac9aef70dff222d3c5f137885dd650a9d229c17 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
-#include <asm/cacheflush.h>
 
 #include <media/v4l2-dev.h>
 #include <media/v4l2-ioctl.h>
This page took 0.060162 seconds and 4 git commands to generate.