Re: 'struct uart_port' has no member named 'info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 10, 2010 at 02:33:47AM -0900, rogerx@xxxxxxx wrote:
>Upgraded from kernel-2.6.32 to kernel-2.6.33, and now get the following
>error when compiling ltmodem.
>
>/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
>function 'receive_chars':
>/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:181:
>error: 'struct uart_port' has no member named 'info'

Sorry.  These changes were already found and patched for kernel-2.6.32!

I just happened to spend the last 12 hours finding all the new variable
names and writing a new patch -- while the patch was already written.
:-/


For reference for those doing a Google search:

-   struct tty_struct *tty = up->port.info->port.tty;
+   struct tty_struct *tty = up->port.state->port.tty

-   struct circ_buf *xmit = &up->port.info->xmit;
+   struct circ_buf *xmit = &up->port.state->xmit;

-       wake_up_interruptible(&up->port.info->delta_msr_wait);
+       wake_up_interruptible(&up->port.state->port.delta_msr_wait)

-- 
Roger
http://rogerx.freeshell.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux