From: Jeff Mahoney <jeffm@suse.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Linux Kernel Maling List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] staging/sb105x: remove asm/segment.h dependency
Date: Mon, 07 Jan 2013 21:31:14 -0500 [thread overview]
Message-ID: <50EB84F2.4070708@suse.com> (raw)
In-Reply-To: <1357598164.5190.12.camel@gandalf.local.home>
On 1/7/13 5:36 PM, Steven Rostedt wrote:
> 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.
Ok, this blob (predictably) works to build on my ppc64 box.
--- a/drivers/staging/sb105x/sb_pci_mp.c
+++ b/drivers/staging/sb105x/sb_pci_mp.c
@@ -2836,7 +2836,8 @@ static void __init multi_init_ports(void
osc = 0;
for(j=0;j<osc;j++)
mtpt->port.uartclk *= 2;
- mtpt->port.flags |= STD_COM_FLAGS | UPF_SHARE_IRQ ;
+ mtpt->port.flags |= UPF_BOOT_AUTOCONF|UPF_SKIP_TEST;
+ mtpt->port.flags |= UPF_SHARE_IRQ;
mtpt->port.iotype = UPIO_PORT;
mtpt->port.ops = &multi_pops;
-Jeff
> 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@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>
>>
>>
>>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Jeff Mahoney
SUSE Labs
next prev parent reply other threads:[~2013-01-08 2:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-01-07 22:36 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50EB84F2.4070708@suse.com \
--to=jeffm@suse.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.