linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH-Trivial 1/2] [media] s5p-fimc: Replace asm/* headers with linux/*
@ 2012-08-17  6:28 Sachin Kamat
  2012-08-17  6:28 ` [PATCH-Trivial 2/2] [media] s5p-fimc: Add missing braces around sizeof Sachin Kamat
  2012-08-17  8:21 ` [PATCH-Trivial 1/2] [media] s5p-fimc: Replace asm/* headers with linux/* Sylwester Nawrocki
  0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2012-08-17  6:28 UTC (permalink / raw)
  To: linux-media; +Cc: mchehab, s.nawrocki, sachin.kamat, patches

Silences the following warning:
WARNING: Use #include <linux/sizes.h> instead of <asm/sizes.h>

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/media/platform/s5p-fimc/fimc-core.h |    2 +-
 drivers/media/platform/s5p-fimc/fimc-lite.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/platform/s5p-fimc/fimc-core.h b/drivers/media/platform/s5p-fimc/fimc-core.h
index 808ccc6..e787f65 100644
--- a/drivers/media/platform/s5p-fimc/fimc-core.h
+++ b/drivers/media/platform/s5p-fimc/fimc-core.h
@@ -17,7 +17,7 @@
 #include <linux/types.h>
 #include <linux/videodev2.h>
 #include <linux/io.h>
-#include <asm/sizes.h>
+#include <linux/sizes.h>

 #include <media/media-entity.h>
 #include <media/videobuf2-core.h>
diff --git a/drivers/media/platform/s5p-fimc/fimc-lite.h b/drivers/media/platform/s5p-fimc/fimc-lite.h
index 44424ee..8dc3e9b 100644
--- a/drivers/media/platform/s5p-fimc/fimc-lite.h
+++ b/drivers/media/platform/s5p-fimc/fimc-lite.h
@@ -9,7 +9,7 @@
 #ifndef FIMC_LITE_H_
 #define FIMC_LITE_H_

-#include <asm/sizes.h>
+#include <linux/sizes.h>
 #include <linux/io.h>
 #include <linux/irqreturn.h>
 #include <linux/platform_device.h>
--
1.7.4.1


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

end of thread, other threads:[~2012-08-17 15:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17  6:28 [PATCH-Trivial 1/2] [media] s5p-fimc: Replace asm/* headers with linux/* Sachin Kamat
2012-08-17  6:28 ` [PATCH-Trivial 2/2] [media] s5p-fimc: Add missing braces around sizeof Sachin Kamat
2012-08-17  8:21 ` [PATCH-Trivial 1/2] [media] s5p-fimc: Replace asm/* headers with linux/* Sylwester Nawrocki
2012-08-17 15:22   ` Sachin Kamat

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).