Skip to contentSkip to conversation

STAGING: includecheck fix: dream, smd_rpcrouter.c

PATCH In review Jaswinder Singh Rajput 2 participants 2 messages Sep 22, 2009 – Sep 23, 2009 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 STAGING: includecheck fix: dream, smd_rpcrouter.c

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>

---
 drivers/staging/dream/smd/smd_rpcrouter.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
drivers/staging/dream/smd/smd_rpcrouter.c +1 -4
index d4a4a88..4c6457c 100644
@@ -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"
Signature · 1 line
1.6.0.6
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Jaswinder Singh Rajput

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>

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html