summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2013-01-03 21:27:34 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-02-04 09:26:27 +0200
commit13daa22fcbe4ab51d05b26ce5f912782f18760bd (patch)
tree17211d119eba8adbd0565a98604237c0f8041658 /drivers/mtd/devices
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff)
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/devices')
0 files changed, 0 insertions, 0 deletions