From patchwork Wed Nov 19 13:16:33 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qinghuang Feng X-Patchwork-Id: 9586 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CADE7DDDEE for ; Thu, 20 Nov 2008 00:18:45 +1100 (EST) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1L2mvD-0007Hr-7u; Wed, 19 Nov 2008 13:16:43 +0000 Received: from ti-out-0910.google.com ([209.85.142.190]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1L2mvB-0005Xr-B7 for linux-mtd@lists.infradead.org; Wed, 19 Nov 2008 13:16:41 +0000 Received: by ti-out-0910.google.com with SMTP id a21so2271159tia.2 for ; Wed, 19 Nov 2008 05:16:40 -0800 (PST) Received: by 10.110.39.20 with SMTP id m20mr1403554tim.45.1227100600439; Wed, 19 Nov 2008 05:16:40 -0800 (PST) Received: from localhost ([61.145.234.250]) by mx.google.com with ESMTPS id w12sm813500tib.10.2008.11.19.05.16.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 Nov 2008 05:16:39 -0800 (PST) From: Qinghuang Feng To: David Woodhouse Subject: [PATCH 4/4] drivers/mtd/ftl.c: mark {__init|__exit} for {init|exit} functions Date: Wed, 19 Nov 2008 21:16:33 +0800 User-Agent: sniper-patch-carrier/1.06 Message-ID: <492411b7.0c636e0a.1c92.ffffe107@mx.google.com> X-Spam-Score: 0.0 (/) Cc: Mike, linux-kernel@vger.kernel.org, David, linux-mtd@lists.infradead.org, Mike Lavender , Rapoport , Hinds X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Qinghuang Feng diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index 9bf581c..c3bbf38 100644 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c @@ -1099,7 +1099,7 @@ static struct mtd_blktrans_ops ftl_tr = { .owner = THIS_MODULE, }; -static int init_ftl(void) +static int __init init_ftl(void) { return register_mtd_blktrans(&ftl_tr); }