lkml.org 
[lkml]   [2009]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] STAGING: includecheck fix: dream, smd_rpcrouter.c
From
Date

fix the following 'make includecheck' warning:

drivers/staging/dream/smd/smd_rpcrouter.c: asm/byteorder.h is included more than once.

And <asm/uaccess.h> is not required if we include <linux/uaccess.h>
as it will be automatically included from <linux/uaccess.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
drivers/staging/dream/smd/smd_rpcrouter.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/dream/smd/smd_rpcrouter.c b/drivers/staging/dream/smd/smd_rpcrouter.c
index d4a4a88..4c6457c 100644
--- a/drivers/staging/dream/smd/smd_rpcrouter.c
+++ b/drivers/staging/dream/smd/smd_rpcrouter.c
@@ -34,12 +34,9 @@
#include <linux/sched.h>
#include <linux/poll.h>
#include <linux/wakelock.h>
-#include <asm/uaccess.h>
-#include <asm/byteorder.h>
-#include <linux/platform_device.h>
#include <linux/uaccess.h>
-
#include <asm/byteorder.h>
+#include <linux/platform_device.h>

#include <mach/msm_smd.h>
#include "smd_rpcrouter.h"
--
1.6.0.6



\
 
 \ /
  Last update: 2009-09-22 16:55    [W:0.033 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site