[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: Compile error in 2.6 kernel when compiling for ipaq 5550
From:       "Lothar Wassmann" <LW () KARO-electronics ! de>
Date:       2003-10-27 12:38:54
[Download RAW message or body]

Michel Thrysoee writes:
> 
> Hi all...
> 
> I need to compile a 2.6 kernel for an ipaq 5550, with support for
> displaying the kernel boot information via the serial port. However when i
> enable serial port support in the kernel configuration tool, i get the
> following compiler error:
> 
> drivers/serial/8250.c:115: error: unknown field 'type' specified in
> initializer
> drivers/serial/8250.c:115: error: 'PORT_PXA' undeclared here (not in a
> function)
> drivers/serial/8250.c:115: error: initializer element is not constant
> drivers/serial/8250.c:115: error: (near initialization for
> 'old_serial_port[0].uart')

> Does anyone know what is causing this ? and/or how to solve this ?
> 
Don't use drivers/serial/8250.c. Use drivers/serial/pxa.c instead.
CONFIG_SERIAL_PXA=y


Lothar Wassmann

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic