[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTi=emhx8tZ-SqZok7oMPpcXiYUr+b1t3CMgeAxao@mail.gmail.com>
Date: Tue, 1 Mar 2011 09:41:45 -0700
From: Grant Likely <grant.likely@...retlab.ca>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: build failure after merge of the final tree
(devicetree tree related)
On Mon, Feb 28, 2011 at 11:54 PM, Stephen Rothwell <sfr@...b.auug.org.au> wrote:
> Hi Grant,
>
> After merging the final tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> drivers/mtd/nand/pasemi_nand.c:221: error: variable 'pasemi_nand_driver' has initializer but incomplete type
> drivers/mtd/nand/pasemi_nand.c:223: error: unknown field 'driver' specified in initializer
> drivers/mtd/nand/pasemi_nand.c:223: error: extra brace group at end of initializer
> drivers/mtd/nand/pasemi_nand.c:223: error: (near initialization for 'pasemi_nand_driver')
> drivers/mtd/nand/pasemi_nand.c:227: warning: excess elements in struct initializer
> drivers/mtd/nand/pasemi_nand.c:227: warning: (near initialization for 'pasemi_nand_driver')
> drivers/mtd/nand/pasemi_nand.c:228: error: unknown field 'probe' specified in initializer
> drivers/mtd/nand/pasemi_nand.c:228: warning: excess elements in struct initializer
> drivers/mtd/nand/pasemi_nand.c:228: warning: (near initialization for 'pasemi_nand_driver')
> drivers/mtd/nand/pasemi_nand.c:229: error: unknown field 'remove' specified in initializer
> drivers/mtd/nand/pasemi_nand.c:229: warning: excess elements in struct initializer
> drivers/mtd/nand/pasemi_nand.c:229: warning: (near initialization for 'pasemi_nand_driver')
> drivers/mtd/nand/pasemi_nand.c: In function 'pasemi_nand_init':
> drivers/mtd/nand/pasemi_nand.c:234: warning: passing argument 1 of 'platform_driver_register' from incompatible pointer type
> include/linux/platform_device.h:124: note: expected 'struct platform_driver *' but argument is of type 'struct latform_driver *'
> drivers/mtd/nand/pasemi_nand.c: In function 'pasemi_nand_exit':
> drivers/mtd/nand/pasemi_nand.c:240: warning: passing argument 1 of 'platform_driver_unregister' from incompatible pointer type
> include/linux/platform_device.h:125: note: expected 'struct platform_driver *' but argument is of type 'struct latform_driver *'
>
> Caused by commit ac677e82cd5c031a010458304821bb8b1e47cf24 ("dt: Eliminate
> of_platform_{,un}register_driver"). Looks like a typo to me :-)
Indeed! Fix pushed out. Thanks.
g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists