From: rogerx on
Upgraded from kernel-2.6.32 to kernel-2.6.33, and now get the following
error when compiling ltmodem.

I checked for changes within drivers/serial/serial_core.c, but couldn't
find the specific change. (I did verify ltmodem compiles fine without
error under 2.6.32.)


/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'
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
function 'transmit_chars':
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:243:
error: 'struct uart_port' has no member named 'info'
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
function 'check_modem_status':
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:284:
error: 'struct uart_port' has no member named 'info'
/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:294:
error: 'struct uart_port' has no member named 'info'
make[2]: ***
[/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.o]
Error 1


--
Roger
http://rogerx.freeshell.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Xiaotian Feng on
On Wed, Mar 10, 2010 at 6:34 PM, <rogerx(a)sdf.org> wrote:
> Upgraded from kernel-2.6.32 to kernel-2.6.33, and now get the following
> error when compiling ltmodem.
>
> I checked for changes within drivers/serial/serial_core.c, but couldn't
> find the specific change.  (I did verify ltmodem compiles fine without
> error under 2.6.32.)
>

uart_port->info has been removed by commit
ebd2c8f6d2ec4012c267ecb95e72a57b8355a705
I think s/info/state can solve your build issue.

>
> /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'
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
> function 'transmit_chars':
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:243:
> error: 'struct uart_port' has no member named 'info'
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c: In
> function 'check_modem_status':
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:284:
> error: 'struct uart_port' has no member named 'info'
> /var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.c:294:
> error: 'struct uart_port' has no member named 'info'
> make[2]: ***
> [/var/tmp/portage/net-dialup/ltmodem-20090420/work/ltmodem/v8250.o]
> Error 1
>
>
> --
> Roger
> http://rogerx.freeshell.org/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo(a)vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/