linux-next: sparc tree build failure

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

 



Hi Dave,

Today's linux-next build (powerpc allyesconfig) failed like this:

drivers/serial/apbuart.c:585: error: variable 'grlib_apbuart_of_driver' has initializer but incomplete type
drivers/serial/apbuart.c:586: error: unknown field 'match_table' specified in initializer
drivers/serial/apbuart.c:586: warning: excess elements in struct initializer
drivers/serial/apbuart.c:586: warning: (near initialization for 'grlib_apbuart_of_driver')
drivers/serial/apbuart.c:587: error: unknown field 'probe' specified in initializer
drivers/serial/apbuart.c:587: warning: excess elements in struct initializer
drivers/serial/apbuart.c:587: warning: (near initialization for 'grlib_apbuart_of_driver')
drivers/serial/apbuart.c:588: error: unknown field 'driver' specified in initializer
drivers/serial/apbuart.c:588: error: extra brace group at end of initializer
drivers/serial/apbuart.c:588: error: (near initialization for 'grlib_apbuart_of_driver')
drivers/serial/apbuart.c:591: warning: excess elements in struct initializer
drivers/serial/apbuart.c:591: warning: (near initialization for 'grlib_apbuart_of_driver')
drivers/serial/apbuart.c: In function 'grlib_apbuart_init':
drivers/serial/apbuart.c:679: error: implicit declaration of function 'of_register_driver'
drivers/serial/apbuart.c:679: error: 'of_platform_bus_type' undeclared (first use in this function)

Caused by commit d4ac42a582e46d7f86f0acb4253a310423c72c4c ("sparc:
Support for GRLIB APBUART serial port") (yes again :-)).  I have applied
my patch to make it only build on SPARC again ...

(Including linux/of_platform.h - where struct of_platform_driver,
of_register_driver() and of_platform_bus_type are declared - would be a
good start ...  and the code should probably be using
of_register_platform_driver() instead of of_register_driver() in any
case.)

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgpxvpF6l6jvj.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux