[PATCH v2] davinci_nand: fix modular build with CONFIG_OF=y
Sergei Shtylyov
sshtylyov at mvista.com
Fri Jan 11 12:44:46 EST 2013
Hello.
On 01/03/2013 09:27 PM, Sergei Shtylyov wrote:
> Commit cdeadd712f52b16a9285386d61ee26fd14eb4085 (mtd: nand: davinci: add OF
> support for davinci nand controller) has never been really build tested with
> the driver as a module. When the driver is built-in, the missing semicolon
> after structure initializer is "compensated" by MODULE_DEVICE_TABLE() macro
> being empty and so the initializer using the trailing semicolon on the next
> line; when the driver is built as a module, compilation error ensues, and as
> the 'davinci_all_defconfig' has the NAND driver modular, this error prevents
> DaVinci family kernel from building...
> Signed-off-by: Sergei Shtylyov <sshtylyov at ru.mvista.com>
> Cc: stable at vger.kernel.org # 3.7
> ---
> The patch is atop of the recent Linus' tree.
OK, a week has passed. Anybody going to queue this up for 3.8?
WBR, Sergei
More information about the linux-mtd
mailing list