]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: nand: xway: fix build because of module functions
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 5 Dec 2016 21:14:37 +0000 (22:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jan 2017 07:24:39 +0000 (08:24 +0100)
commit001ed27d088a4f66de05d440a2e7c8dd018be457
tree74f360e8c8d3b68624cd20a43cda1851ee04a3a6
parentc8dce6e0ef2c3641be81639fbfe4f10b6d411c41
mtd: nand: xway: fix build because of module functions

commit a2724663494f7313f53da10d8c0a729c5e3c4dea upstream.

Remove the usage of modules functions to make this driver compile
again. Otherwise an include of linux/modules.h would be needed.

Fixes: 024366750c2e ("mtd: nand: xway: convert to normal platform driver")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/nand/xway_nand.c