Re: [PATCH] staging/sb105x: remove asm/segment.h dependency

From: Steven Rostedt
Date: Mon Jan 07 2013 - 17:35:55 EST


This patch is obsoleted by:

https://lkml.org/lkml/2012/12/13/710

Which I just got the automated reply, and it's in Greg's staging tree
now.

When I get time, I do want to try to get this driver (and device)
working on my ppc64 box.

Thanks,

-- Steve


On Mon, 2013-01-07 at 17:20 -0500, Jeff Mahoney wrote:
> 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@xxxxxxxxxxx>
> Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>
> ---
>
> 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>
>
>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/