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)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 2 Jan 2017 08:44:21 +0000 (09:44 +0100)
commita2724663494f7313f53da10d8c0a729c5e3c4dea
treee0a8acc302abd4a15d666aa0fe9996270213e120
parent73529c872a189c747bdb528ce9b85b67b0e28dec
mtd: nand: xway: fix build because of module functions

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")
Cc: <stable@vger.kernel.org>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/xway_nand.c