From patchwork Wed Nov 30 22:51:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 701268 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tTbLV2bPHz9t1H for ; Thu, 1 Dec 2016 09:53:38 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCDjL-00049P-5M; Wed, 30 Nov 2016 22:51:59 +0000 Received: from hauke-m.de ([5.39.93.123] helo=mail.hauke-m.de) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cCDjA-0003t6-NX for linux-mtd@lists.infradead.org; Wed, 30 Nov 2016 22:51:53 +0000 Received: from hauke-desktop.lan (p20030086280C75006955C9BE4344F859.dip0.t-ipconnect.de [IPv6:2003:86:280c:7500:6955:c9be:4344:f859]) by mail.hauke-m.de (Postfix) with ESMTPSA id 510CE1001CD; Wed, 30 Nov 2016 23:51:26 +0100 (CET) From: Hauke Mehrtens To: boris.brezillon@free-electrons.com Subject: [PATCH] mtd: nand: xway: fix build undefined MODULE_DEVICE_TABLE() Date: Wed, 30 Nov 2016 23:51:10 +0100 Message-Id: <20161130225110.10759-1-hauke@hauke-m.de> X-Mailer: git-send-email 2.10.2 X-Spam-Status: No, score=0.0 required=7.0 tests=UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on hauke-m.de X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161130_145149_209070_EFFB7EB9 X-CRM114-Status: UNSURE ( 8.55 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -3.3 (---) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-3.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hauke Mehrtens , richard@nod.at, marek.vasut@gmail.com, linux-mtd@lists.infradead.org, john@phrozen.org, cyrille.pitchen@atmel.com, computersforpeace@gmail.com, dwmw2@infradead.org MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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 Acked-by: Boris Brezillon --- 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 +#include #include #include