diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2013-01-03 19:27:34 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-01-11 17:53:24 +0100 |
commit | 7a9c83888761a9a26049b439dc0b09e7ea8a854b (patch) | |
tree | e097ca05a51fc6d1f8e5fb08c317cb06cde774f5 /drivers/mtd/maps/physmap_of.c | |
parent | mtd: bcm47xxnflash: increase NFLASH_READY_RETRIES (diff) | |
download | linux-7a9c83888761a9a26049b439dc0b09e7ea8a854b.tar.xz linux-7a9c83888761a9a26049b439dc0b09e7ea8a854b.zip |
mtd: davinci_nand: fix modular build with CONFIG_OF=y
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@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: stable@vger.kernel.org # 3.7
Diffstat (limited to 'drivers/mtd/maps/physmap_of.c')
0 files changed, 0 insertions, 0 deletions