public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: xway: fix build undefined MODULE_DEVICE_TABLE()
@ 2016-11-30 22:51 Hauke Mehrtens
  2016-12-01 10:35 ` Boris Brezillon
  2016-12-01 12:36 ` Boris Brezillon
  0 siblings, 2 replies; 10+ messages in thread
From: Hauke Mehrtens @ 2016-11-30 22:51 UTC (permalink / raw)
  To: boris.brezillon
  Cc: richard, dwmw2, computersforpeace, marek.vasut, cyrille.pitchen,
	linux-mtd, john, Hauke Mehrtens

The header file with the definition of MODULE_DEVICE_TABLE() was
missing, add include for linux/module.h to fix the problem in 4.9.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 drivers/mtd/nand/xway_nand.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/nand/xway_nand.c b/drivers/mtd/nand/xway_nand.c
index 1f2948c..bcbc1c7 100644
--- a/drivers/mtd/nand/xway_nand.c
+++ b/drivers/mtd/nand/xway_nand.c
@@ -8,6 +8,7 @@
  */
 
 #include <linux/mtd/nand.h>
+#include <linux/module.h>
 #include <linux/of_gpio.h>
 #include <linux/of_platform.h>
 
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-12-05 12:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-30 22:51 [PATCH] mtd: nand: xway: fix build undefined MODULE_DEVICE_TABLE() Hauke Mehrtens
2016-12-01 10:35 ` Boris Brezillon
2016-12-01 12:36 ` Boris Brezillon
2016-12-01 13:02   ` John Crispin
2016-12-01 13:47     ` Boris Brezillon
2016-12-01 13:57       ` John Crispin
2016-12-04 19:15         ` Hauke Mehrtens
2016-12-04 19:19           ` John Crispin
2016-12-04 22:40   ` Hauke Mehrtens
2016-12-05 12:10     ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox