public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] STAGING: includecheck fix: dream, smd_rpcrouter.c
@ 2009-09-22 14:52 Jaswinder Singh Rajput
  2009-09-23  7:36 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2009-09-22 14:52 UTC (permalink / raw)
  To: Greg KH, Pavel Machek, San Mehat, Iliyan Malchev, Brian Swetland,
	devel, LKML


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



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

* Re: [PATCH] STAGING: includecheck fix: dream, smd_rpcrouter.c
  2009-09-22 14:52 [PATCH] STAGING: includecheck fix: dream, smd_rpcrouter.c Jaswinder Singh Rajput
@ 2009-09-23  7:36 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2009-09-23  7:36 UTC (permalink / raw)
  To: Jaswinder Singh Rajput
  Cc: Greg KH, San Mehat, Iliyan Malchev, Brian Swetland, devel, LKML

On Tue 2009-09-22 20:22:29, Jaswinder Singh Rajput wrote:
> 
> 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>

Acked-by: Pavel Machek <pavel@ucw.cz>


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

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

end of thread, other threads:[~2009-09-23  7:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-22 14:52 [PATCH] STAGING: includecheck fix: dream, smd_rpcrouter.c Jaswinder Singh Rajput
2009-09-23  7:36 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox