public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging/sb105x: remove asm/segment.h dependency
@ 2013-01-07 22:20 Jeff Mahoney
  2013-01-07 22:36 ` Steven Rostedt
  2013-01-07 22:36 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Mahoney @ 2013-01-07 22:20 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Steven Rostedt, Linux Kernel Maling List

sb105x doesn't seem to actually need <asm/segment.h> (builds on x86
without it) and ppc/ppc64 doesn't provide it so it fails to build there.

This patch removes the dependency. Unfortunately, it now fails to build
because STD_COM_FLAGS isn't defined on most architectures. I'm not familiar
enough with the tty/serial system to patch that aspect of it.

CC: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---

 drivers/staging/sb105x/sb_pci_mp.h |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/staging/sb105x/sb_pci_mp.h
+++ b/drivers/staging/sb105x/sb_pci_mp.h
@@ -19,7 +19,6 @@
 #include <asm/uaccess.h>
 #include <asm/io.h>
 #include <asm/irq.h>
-#include <asm/segment.h>
 #include <asm/serial.h>
 #include <linux/interrupt.h>
 


-- 
Jeff Mahoney
SUSE Labs

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

end of thread, other threads:[~2013-01-08  2:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-07 22:20 [PATCH] staging/sb105x: remove asm/segment.h dependency Jeff Mahoney
2013-01-07 22:36 ` Steven Rostedt
2013-01-08  2:31   ` Jeff Mahoney
2013-01-07 22:36 ` Greg Kroah-Hartman

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