diff mbox

[PATCH-Trivial,1/2,media] s5p-fimc: Replace asm/* headers with linux/*

Message ID 1345184907-8317-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat Aug. 17, 2012, 6:28 a.m. UTC
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(-)

--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Hi Sachin,

On 08/17/2012 08:28 AM, Sachin Kamat wrote:
> Silences the following warning:
> WARNING: Use #include <linux/sizes.h> instead of <asm/sizes.h>
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Added both to my tree.

Thanks,
Sylwester
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Sachin Kamat Aug. 17, 2012, 3:22 p.m. UTC | #2
On 17 August 2012 13:51, Sylwester Nawrocki <s.nawrocki@samsung.com> wrote:
> Hi Sachin,
>
> On 08/17/2012 08:28 AM, Sachin Kamat wrote:
>> Silences the following warning:
>> WARNING: Use #include <linux/sizes.h> instead of <asm/sizes.h>
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>
> Added both to my tree.

Thanks Sylwester.

>
> Thanks,
> Sylwester
diff mbox

Patch

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>